[][src]Function minicov::reset_coverage_counters

pub fn reset_coverage_counters()

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.

Note that calls to capture_coverage will implicitly reset the counters.