Skip to main content

reset

Function reset 

Source
pub fn reset()
Expand description

Drop every sample, keeping the frame counter’s meaning (“frames banked”) intact only for the new window. A measurement resets, then spins, then reads — otherwise the idle frames before the spin dominate the average.