Skip to main content

Module timing

Module timing 

Source

Structs§

OpTiming
Timing statistics for a single named operation.
TimingReport
Aggregated timing report across instrumented operations.

Functions§

clear_timings
Clears all recorded timings for the current thread.
collect_report
Collect all recorded timings from thread-local storage into a report.
is_timing_enabled
Returns true when timing collection is currently enabled.
set_timing_enabled
Enable or disable timing collection.
timed
Execute a closure while recording its duration.
timing_enabled_from_env
Returns true when BONES_TIMING enables timing collection.