mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fixup! Measure layout queries blocked by ongoing layout
This commit is contained in:
parent
858011c513
commit
4fd9fea7a6
3 changed files with 3 additions and 4 deletions
|
@ -871,7 +871,7 @@ impl LayoutThread {
|
|||
self.webrender_api.clone_sender(),
|
||||
self.webrender_document,
|
||||
info.paint_time_metrics,
|
||||
self.busy.clone(),
|
||||
info.layout_is_busy,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -47,8 +47,7 @@ pub enum ProfilerMsg {
|
|||
/// Message used to force print the profiling metrics
|
||||
Print,
|
||||
|
||||
// TODO pylbrecht
|
||||
// write meaningful docstring
|
||||
/// Report a layout query that could not be processed immediately for a particular URL.
|
||||
BlockedLayoutQuery(String),
|
||||
|
||||
/// Tells the profiler to shut down.
|
||||
|
|
|
@ -203,7 +203,7 @@ struct InProgressLoad {
|
|||
navigation_start_precise: u64,
|
||||
/// For cancelling the fetch
|
||||
canceller: FetchCanceller,
|
||||
/// Flag to indicate if the layout thread is busy handling a request.
|
||||
/// Flag for sharing with the layout thread that is not yet created.
|
||||
layout_is_busy: Arc<AtomicBool>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue