pub enum Record {
Show 18 variants
Session(Session),
Name {
id: NameId,
text: String,
},
Track {
id: Track,
name: NameId,
},
FrameBegin {
t: u64,
frame: u64,
causes: Vec<NameId>,
},
Holder {
frame: u64,
what: NameId,
name: NameId,
node: u64,
},
FrameEnd {
t: u64,
frame: u64,
unchanged: Option<bool>,
nodes: u32,
},
Present {
t: u64,
frame: u64,
render: u64,
wait: u64,
},
Span(Span),
Input {
t: u64,
kind: NameId,
os_t: Option<u64>,
count: u32,
until: u64,
},
Event {
t: u64,
kind: NameId,
node: u64,
},
Wake {
t: u64,
name: NameId,
},
Request {
t: u64,
why: NameId,
at: NameId,
},
Loop {
t: u64,
event: LoopEvent,
},
Counter {
t: u64,
frame: u64,
name: NameId,
value: i64,
},
Gauge {
t: u64,
name: NameId,
value: f64,
},
Mark {
t: u64,
track: Track,
name: NameId,
},
Note {
t: u64,
text: String,
},
Placement {
t: u64,
node: u64,
component: NameId,
answer: NameId,
why: NameId,
},
}Expand description
One record.
Variants§
Session(Session)
Name
Track
FrameBegin
A frame begun, with why it runs: the cause kinds and the named
ones (wake: parser, request: caret blink).
Holder
Who held the frame the last one left owed: what for and its name.
FrameEnd
A frame finished: whether it drew what the one before drew, and how many nodes it held.
Present
A frame drawn: the driver’s render and vsync’s wait, µs.
Span(Span)
Input
Input arriving: its kind and, for a run of one kind (pointer
moves), how many and until when — never before t, which is what
a single input’s until is.
Event
An event handed to the app: its kind and its node.
Wake
Request
A frame asked for: why, and the source line that asked.
Loop
Counter
A frame’s counter: its total over the frame.
Gauge
A reading set.
Mark
An instant.
Note
A line the app wrote (perf_note): what the numbers beside it
cannot say — a pane’s “editor moved, reads fs.stat”.
Placement
A component placed (ADR 0067): its kind, the node it is at, how
it was filled — replayed, or drawn fresh and why in a word
(not-kept, params, reads, not-replayable, heard) — and,
for reads and not-replayable, the fact that moved or what made
it unreplayable: hover 00000000000000ab, the clock. The fact’s
kind and node, never what it read.