timed

Function timed 

Source
pub fn timed<T>(h: &Histogram, f: impl FnOnce() -> T) -> T
Expand description

Time a block and record it, returning what the block returned.