pub enum SoftwareCounterType {
CpuClock,
TaskClock,
PageFaults,
ContextSwitches,
CpuMigrations,
PageFaultsMin,
PageFaultsMaj,
AlignmentFaults,
EmulationFaults,
Dummy,
BpfOutput,
CgroupSwitches,
}
Variants
CpuClock
PERF_COUNT_SW_CPU_CLOCK
TaskClock
PERF_COUNT_SW_TASK_CLOCK
PageFaults
PERF_COUNT_SW_PAGE_FAULTS
ContextSwitches
PERF_COUNT_SW_CONTEXT_SWITCHES
CpuMigrations
PERF_COUNT_SW_CPU_MIGRATIONS
PageFaultsMin
PERF_COUNT_SW_PAGE_FAULTS_MIN
PageFaultsMaj
PERF_COUNT_SW_PAGE_FAULTS_MAJ
AlignmentFaults
PERF_COUNT_SW_ALIGNMENT_FAULTS
EmulationFaults
PERF_COUNT_SW_EMULATION_FAULTS
Dummy
PERF_COUNT_SW_DUMMY
BpfOutput
PERF_COUNT_SW_BPF_OUTPUT
CgroupSwitches
PERF_COUNT_SW_CGROUP_SWITCHES
Implementations
Trait Implementations
sourceimpl Clone for SoftwareCounterType
impl Clone for SoftwareCounterType
sourcefn clone(&self) -> SoftwareCounterType
fn clone(&self) -> SoftwareCounterType
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 SoftwareCounterType
impl Debug for SoftwareCounterType
impl Copy for SoftwareCounterType
Auto Trait Implementations
impl RefUnwindSafe for SoftwareCounterType
impl Send for SoftwareCounterType
impl Sync for SoftwareCounterType
impl Unpin for SoftwareCounterType
impl UnwindSafe for SoftwareCounterType
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