Expand description
Profiling utilities for task, frame, and thread performance tracking.
Structs§
- Frame
Timing - Timing for a single drawn window frame.
- Frame
Timing Collector - Drains frame timings recorded after this collector was created, tracking a
cursor so each call to
Self::collect_unseenreturns only new entries. - Serialized
Location - Serializable variant of
core::panic::Location - Serialized
Task Timing - Serializable variant of [
TaskTiming] - Serialized
Thread Task Timings - Serializable variant of [
ThreadTaskTimings]
Functions§
- frame_
trace_ enabled - Returns whether frame timing collection is enabled.
- record_
frame_ timing - Records the timing of a drawn window frame.
- set_
frame_ trace_ enabled - Enables or disables frame timing collection at runtime.
- set_
trace_ enabled - Enables or disables task timing trace collection at runtime.
- trace_
enabled - Returns whether task timing tracing is enabled.