[−][src]Trait perfcnt::AbstractPerfCounter
Abstract trait to control performance counters.
Required methods
fn reset(&self) -> Result<(), Error>
Reset performance counter.
fn start(&self) -> Result<(), Error>
Start measuring.
fn stop(&self) -> Result<(), Error>
Stop measuring.
fn read(&mut self) -> Result<u64, Error>
Read the counter value.