Enum nc::types::perf_sw_ids_t[][src]

#[repr(u8)]
pub enum perf_sw_ids_t {
    PERF_COUNT_SW_CPU_CLOCK,
    PERF_COUNT_SW_TASK_CLOCK,
    PERF_COUNT_SW_PAGE_FAULTS,
    PERF_COUNT_SW_CONTEXT_SWITCHES,
    PERF_COUNT_SW_CPU_MIGRATIONS,
    PERF_COUNT_SW_PAGE_FAULTS_MIN,
    PERF_COUNT_SW_PAGE_FAULTS_MAJ,
    PERF_COUNT_SW_ALIGNMENT_FAULTS,
    PERF_COUNT_SW_EMULATION_FAULTS,
    PERF_COUNT_SW_DUMMY,
    PERF_COUNT_SW_BPF_OUTPUT,
    PERF_COUNT_SW_MAX,
}
Expand description

Special “software” events provided by the kernel, even if the hardware does not support performance events. These events measure various physical and sw events of the kernel (and allow the profiling of them as well):

Variants

PERF_COUNT_SW_CPU_CLOCK

PERF_COUNT_SW_TASK_CLOCK

PERF_COUNT_SW_PAGE_FAULTS

PERF_COUNT_SW_CONTEXT_SWITCHES

PERF_COUNT_SW_CPU_MIGRATIONS

PERF_COUNT_SW_PAGE_FAULTS_MIN

PERF_COUNT_SW_PAGE_FAULTS_MAJ

PERF_COUNT_SW_ALIGNMENT_FAULTS

PERF_COUNT_SW_EMULATION_FAULTS

PERF_COUNT_SW_DUMMY

PERF_COUNT_SW_BPF_OUTPUT

PERF_COUNT_SW_MAX

non-ABI

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.