Expand description
Frame histories belong to the recording thread.
Structs§
Constants§
Functions§
- aggregate
- Keyed by name, in descending p95 order.
- all_
max_ ever - Sorted descending by duration.
- begin_
frame - clear_
history - clear_
max_ ever - end_
frame - Adds the synthetic
between-framesandidlesections after the first frame. - history
- Oldest to newest; allocates.
- last_
frame - max_
ever Duration::ZEROfor a name never seen.- percentile
- Nearest-rank percentile of ascending samples; empty input returns zero.
- record_
external - Attributes the sample to the current frame, even if it arrives late.
- scope
- set_
capacity - set_
heap_ sampler - set_
spike_ threshold Duration::MAXdisables the spike warning.- with_
history fmust not callend_frame,set_capacity, orclear_history; the borrow is held.
Type Aliases§
- Heap
Sampler - Bytes; on wasm32 + Chromium,
performance.memory.usedJSHeapSize.