aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/profile/time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/shared/profile/time.rs')
-rw-r--r--components/shared/profile/time.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/shared/profile/time.rs b/components/shared/profile/time.rs
index ef36478e9ea..de7b6d2332c 100644
--- a/components/shared/profile/time.rs
+++ b/components/shared/profile/time.rs
@@ -55,10 +55,16 @@ pub enum ProfilerMsg {
Exit(IpcSender<()>),
}
+/// Usage sites of variants marked “Rust tracing only” are not visible to rust-analyzer.
#[repr(u32)]
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)]
pub enum ProfilerCategory {
+ /// The compositor is rasterising or presenting.
+ ///
+ /// Not associated with a specific URL.
Compositing = 0x00,
+
+ /// The script thread is doing layout work.
LayoutPerform = 0x10,
/// Events currently only used by Layout 2013.