in benches/benches.rs [72:89]
fn start(&mut self) {
assert!(self.started.is_none());
Self::clobber_memory();
let instant = Instant::now();
#[cfg(target_os = "linux")]
if let Some(counter) = self.counter.as_mut() {
if counter.reset().is_ok() && counter.enable().is_ok() {
self.started = Some(instant);
}
return;
}
self.started = Some(instant);
}