mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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_api.clone_sender(),
|
||||||
self.webrender_document,
|
self.webrender_document,
|
||||||
info.paint_time_metrics,
|
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
|
/// Message used to force print the profiling metrics
|
||||||
Print,
|
Print,
|
||||||
|
|
||||||
// TODO pylbrecht
|
/// Report a layout query that could not be processed immediately for a particular URL.
|
||||||
// write meaningful docstring
|
|
||||||
BlockedLayoutQuery(String),
|
BlockedLayoutQuery(String),
|
||||||
|
|
||||||
/// Tells the profiler to shut down.
|
/// Tells the profiler to shut down.
|
||||||
|
|
|
@ -203,7 +203,7 @@ struct InProgressLoad {
|
||||||
navigation_start_precise: u64,
|
navigation_start_precise: u64,
|
||||||
/// For cancelling the fetch
|
/// For cancelling the fetch
|
||||||
canceller: FetchCanceller,
|
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>,
|
layout_is_busy: Arc<AtomicBool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue