Function minicov::reset_coverage [−][src]
pub fn reset_coverage()
Expand description
Resets all coverage counters in the program to zero.
This function should be called after a process forks to avoid recording coverage data for the parent process twice.
You should also call this after calling capture_coverage
if you intend to
continue running with the intention of merging with the captured coverage
later.