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

단계 하나를 재고 run.log 에 남긴다.