Output an ASCII table with all (sub-)timers results.
Output an ASCII table with all (sub-)timers results.
NOTE All timers must have been stopped before calling this method.
Run a timer around a given code, throwing exception.
Run a timer around a given code, returning the result and the time it took.
Create a new Timer associated with this TimerStorage.
Create a new Timer associated with this TimerStorage.
The callee is required to call Timer.stop before calling Timer.time.
Provide a
Dynamic
, thread-safe API to measure times.With the exception of outputTable, all methods are thread safe. When calling outputTable, all generated timers MUST have been stopped.