Skip to main content

timed

Function timed 

Source
pub fn timed<T>(
    log: &Logger,
    times: &StageTimes,
    stage: &str,
    what: &str,
    f: impl FnOnce() -> T,
) -> T
Expand description

Time one stage and record it in run.log.