mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Plumb URL into interval profiler tracing events (#34337)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
fd3af6ad04
commit
3a32af0c85
4 changed files with 21 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue