Enum pfm_sys::perf_hw_cache_id
source · #[repr(u32)]pub enum perf_hw_cache_id {
PERF_COUNT_HW_CACHE_L1D = 0,
PERF_COUNT_HW_CACHE_L1I = 1,
PERF_COUNT_HW_CACHE_LL = 2,
PERF_COUNT_HW_CACHE_DTLB = 3,
PERF_COUNT_HW_CACHE_ITLB = 4,
PERF_COUNT_HW_CACHE_BPU = 5,
PERF_COUNT_HW_CACHE_NODE = 6,
PERF_COUNT_HW_CACHE_MAX = 7,
}
Variants§
PERF_COUNT_HW_CACHE_L1D = 0
PERF_COUNT_HW_CACHE_L1I = 1
PERF_COUNT_HW_CACHE_LL = 2
PERF_COUNT_HW_CACHE_DTLB = 3
PERF_COUNT_HW_CACHE_ITLB = 4
PERF_COUNT_HW_CACHE_BPU = 5
PERF_COUNT_HW_CACHE_NODE = 6
PERF_COUNT_HW_CACHE_MAX = 7
Trait Implementations§
source§impl Clone for perf_hw_cache_id
impl Clone for perf_hw_cache_id
source§fn clone(&self) -> perf_hw_cache_id
fn clone(&self) -> perf_hw_cache_id
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 perf_hw_cache_id
impl Debug for perf_hw_cache_id
source§impl Hash for perf_hw_cache_id
impl Hash for perf_hw_cache_id
source§impl PartialEq for perf_hw_cache_id
impl PartialEq for perf_hw_cache_id
source§fn eq(&self, other: &perf_hw_cache_id) -> bool
fn eq(&self, other: &perf_hw_cache_id) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for perf_hw_cache_id
impl Eq for perf_hw_cache_id
impl StructuralEq for perf_hw_cache_id
impl StructuralPartialEq for perf_hw_cache_id
Auto Trait Implementations§
impl RefUnwindSafe for perf_hw_cache_id
impl Send for perf_hw_cache_id
impl Sync for perf_hw_cache_id
impl Unpin for perf_hw_cache_id
impl UnwindSafe for perf_hw_cache_id
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more