Enum speedb::perf::PerfStatsLevel
source · #[repr(i32)]
pub enum PerfStatsLevel {
Uninitialized,
Disable,
EnableCount,
EnableTimeExceptForMutex,
EnableTimeAndCPUTimeExceptForMutex,
EnableTime,
OutOfBound,
}
Variants§
Uninitialized
Unknown settings
Disable
Disable perf stats
EnableCount
Enables only count stats
EnableTimeExceptForMutex
Count stats and enable time stats except for mutexes
EnableTimeAndCPUTimeExceptForMutex
Other than time, also measure CPU time counters. Still don’t measure time (neither wall time nor CPU time) for mutexes
EnableTime
Enables count and time stats
OutOfBound
N.B must always be the last value!
Trait Implementations§
source§impl Clone for PerfStatsLevel
impl Clone for PerfStatsLevel
source§fn clone(&self) -> PerfStatsLevel
fn clone(&self) -> PerfStatsLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PerfStatsLevel
impl Debug for PerfStatsLevel
source§impl PartialEq<PerfStatsLevel> for PerfStatsLevel
impl PartialEq<PerfStatsLevel> for PerfStatsLevel
source§fn eq(&self, other: &PerfStatsLevel) -> bool
fn eq(&self, other: &PerfStatsLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.