Skip to main content

reset

Function reset 

Source
pub fn reset()
Expand description

Clear process totals and the calling thread’s local counts.

Call only when other instrumented workers are quiescent: another thread may still hold local counts that a process-global reset cannot reach.