Skip to main content

record

Function record 

Source
pub fn record(
    name: &'static str,
    elapsed: Duration,
    note: impl FnOnce() -> String,
)
Expand description

Record a phase whose duration was measured elsewhere — for the timings the search path already takes for its own trace lines.