diff options
author | Josh Matthews <josh@joshmatthews.net> | 2019-03-22 13:15:50 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-03-26 16:35:08 -0400 |
commit | 90f67c11e5de39341b8b212a022ce997f9382eb3 (patch) | |
tree | 391e8643504f957e26d6abaf1eee62eba3f52513 /components/constellation/pipeline.rs | |
parent | db7bb2a5101ea6042654b59b3b81725e2da65891 (diff) | |
download | servo-90f67c11e5de39341b8b212a022ce997f9382eb3.tar.gz servo-90f67c11e5de39341b8b212a022ce997f9382eb3.zip |
Add a sampling profiler and a script to generate profiles for use with Gecko tooling.
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r-- | components/constellation/pipeline.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index be369c0c08e..4e9d795d459 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -18,7 +18,7 @@ use ipc_channel::Error; use layout_traits::LayoutThreadFactory; use metrics::PaintTimeMetrics; use msg::constellation_msg::TopLevelBrowsingContextId; -use msg::constellation_msg::{BackgroundHangMonitorRegister, HangAlert}; +use msg::constellation_msg::{BackgroundHangMonitorRegister, HangMonitorAlert}; use msg::constellation_msg::{BrowsingContextId, HistoryStateId, PipelineId, PipelineNamespaceId}; use net::image_cache::ImageCacheImpl; use net_traits::image_cache::ImageCache; @@ -122,7 +122,7 @@ pub struct InitialPipelineState { pub background_monitor_register: Option<Box<BackgroundHangMonitorRegister>>, /// A channel for the background hang monitor to send messages to the constellation. - pub background_hang_monitor_to_constellation_chan: IpcSender<HangAlert>, + pub background_hang_monitor_to_constellation_chan: IpcSender<HangMonitorAlert>, /// A channel for the layout thread to send messages to the constellation. pub layout_to_constellation_chan: IpcSender<LayoutMsg>, @@ -467,7 +467,7 @@ pub struct UnprivilegedPipelineContent { parent_pipeline_id: Option<PipelineId>, opener: Option<BrowsingContextId>, script_to_constellation_chan: ScriptToConstellationChan, - background_hang_monitor_to_constellation_chan: IpcSender<HangAlert>, + background_hang_monitor_to_constellation_chan: IpcSender<HangMonitorAlert>, layout_to_constellation_chan: IpcSender<LayoutMsg>, scheduler_chan: IpcSender<TimerSchedulerMsg>, devtools_chan: Option<IpcSender<ScriptToDevtoolsControlMsg>>, @@ -669,7 +669,7 @@ impl UnprivilegedPipelineContent { } } - pub fn background_hang_monitor_to_constellation_chan(&self) -> &IpcSender<HangAlert> { + pub fn background_hang_monitor_to_constellation_chan(&self) -> &IpcSender<HangMonitorAlert> { &self.background_hang_monitor_to_constellation_chan } |