Skip to main content

span

Function span 

Source
pub fn span(name: &'static str) -> Span
Expand description

Start timing a phase. The returned span records it when dropped; with profiling off it is inert.