AbstractStaticstartStarts a named timer and pushes it to the stack for nesting.
Use with stop() or end(id) to complete tracking.
Unique identifier for the timer block.
StaticstopStops the most recent active timer (LIFO). Automatically accounts for nested exclusive timing.
StaticendEnds a specific named timer regardless of stack position.
The identifier of the timer to end.
StatictimeLogs a single-shot timer value and resets it.
Timer ID to log.
Description for the log entry.
Minimum duration (in microseconds) required to log the result.
StaticclearClears all timers, stacks, and profiling data.
StaticreportPrints a formatted report and then clears all stored stats.
StaticreportPrints a full sorted report of all recorded timers.
StaticreportPrints a report of timers that start with a specific prefix.
The prefix to filter timers by.
StaticreportPrints a grouped report for all matching prefixes.
Array of prefixes to include.
StaticgetReturns a shallow copy of all profiling statistics.
Record of all collected timer stats.
StaticdumpDumps all timers that exceed a certain exclusive duration in milliseconds.
Threshold in milliseconds.
StaticreportPrints a timer report sorted by the given metric.
One of "exclusive", "total", or "avg" to sort by.
Returns the current high-resolution time in microseconds.