Enum rocksdb::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 more