Skip to main content

record_duration

Function record_duration 

Source
pub fn record_duration(section: &str, duration: Duration)
Expand description

Record a completed duration for a section.

If the mutex is poisoned, this is a no-op. Profiling failures should not crash the application.