The number of durations recorded.
The fifteen-minute rate of timings.
The five-minute rate of timings.
The longest recorded duration in nanoseconds.
The arithmetic mean of all recorded durations in nanoseconds.
The mean rate of timings.
The shortest recorded duration in nanoseconds.
The one-minute rate of timings.
A snapshot of the values in the timer's sample.
The standard deviation of all recorded durations.
Wraps partial function pf, timing every execution
Runs f, recording its duration, and returns its result.
A timing com.codahale.metrics.Timer.Context, which measures an elapsed time in nanoseconds.
Adds a recorded duration.
A Scala façade class for Timer.
Example usage:
class Example(val db: Db) extends Instrumented { private[this] val loadTimer = metrics.timer("load") def load(id: Long) = loadTimer.time { db.load(id) } }