Skip to main content

reset

Function reset 

Source
pub fn reset()
Expand description

Sets every counter back to zero.

For a harness that wants the counts for one query rather than for a process, and for the tests below. It is not synchronized against a running query, because a diagnostic that took a lock would be a diagnostic that changed what it measures.