Description

BumpTime is a special version of BumpHistogram which is specialized for timers. Calling it starts the timer, and it returns a value on which End() can be called to indicate finishing the timer. A convenient way of recording the duration of a function is calling it like such at the top of the function:

defer s.BumpTime("my.function").End()

BumpTime is referenced in 0 repositories