#[non_exhaustive]
pub enum HardwareEventId {
CpuCycles,
Instructions,
CacheReferences,
CacheMisses,
BranchInstructions,
BranchMisses,
BusCycles,
StalledCyclesFrontend,
StalledCyclesBackend,
RefCpuCycles,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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§
source§impl Clone for HardwareEventId
impl Clone for HardwareEventId
source§fn clone(&self) -> HardwareEventId
fn clone(&self) -> HardwareEventId
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