pub enum HardwareEventId {
CpuCycles,
Instructions,
CacheReferences,
CacheMisses,
BranchInstructions,
BranchMisses,
BusCycles,
StalledCyclesFrontend,
StalledCyclesBackend,
RefCpuCycles,
}
Variants
CpuCycles
PERF_COUNT_HW_CPU_CYCLES
Instructions
PERF_COUNT_HW_INSTRUCTIONS
CacheReferences
PERF_COUNT_HW_CACHE_REFERENCES
CacheMisses
PERF_COUNT_HW_CACHE_MISSES
BranchInstructions
PERF_COUNT_HW_BRANCH_INSTRUCTIONS
BranchMisses
PERF_COUNT_HW_BRANCH_MISSES
BusCycles
PERF_COUNT_HW_BUS_CYCLES
StalledCyclesFrontend
PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
StalledCyclesBackend
PERF_COUNT_HW_STALLED_CYCLES_BACKEND
RefCpuCycles
PERF_COUNT_HW_REF_CPU_CYCLES
Implementations
Trait Implementations
sourceimpl Clone for HardwareEventId
impl Clone for HardwareEventId
sourcefn clone(&self) -> HardwareEventId
fn clone(&self) -> HardwareEventId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HardwareEventId
impl Debug for HardwareEventId
impl Copy for HardwareEventId
Auto Trait Implementations
impl RefUnwindSafe for HardwareEventId
impl Send for HardwareEventId
impl Sync for HardwareEventId
impl Unpin for HardwareEventId
impl UnwindSafe for HardwareEventId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more