Skip to main content

timed

Function timed 

Source
pub fn timed<T>(stage: &'static str, f: impl FnOnce() -> T) -> T
Expand description

Time a closure and attribute its wall-clock to stage.