Enum nc::types::perf_hw_id_t[][src]

#[repr(u8)]
pub enum perf_hw_id_t {
    PERF_COUNT_HW_CPU_CYCLES,
    PERF_COUNT_HW_INSTRUCTIONS,
    PERF_COUNT_HW_CACHE_REFERENCES,
    PERF_COUNT_HW_CACHE_MISSES,
    PERF_COUNT_HW_BRANCH_INSTRUCTIONS,
    PERF_COUNT_HW_BRANCH_MISSES,
    PERF_COUNT_HW_BUS_CYCLES,
    PERF_COUNT_HW_STALLED_CYCLES_FRONTEND,
    PERF_COUNT_HW_STALLED_CYCLES_BACKEND,
    PERF_COUNT_HW_REF_CPU_CYCLES,
    PERF_COUNT_HW_MAX,
}
Expand description

Generalized performance event event_id types, used by the attr.event_id parameter of the sys_perf_event_open() syscall: Common hardware events, generalized by the kernel:

Variants

PERF_COUNT_HW_CPU_CYCLES

PERF_COUNT_HW_INSTRUCTIONS

PERF_COUNT_HW_CACHE_REFERENCES

PERF_COUNT_HW_CACHE_MISSES

PERF_COUNT_HW_BRANCH_INSTRUCTIONS

PERF_COUNT_HW_BRANCH_MISSES

PERF_COUNT_HW_BUS_CYCLES

PERF_COUNT_HW_STALLED_CYCLES_FRONTEND

PERF_COUNT_HW_STALLED_CYCLES_BACKEND

PERF_COUNT_HW_REF_CPU_CYCLES

PERF_COUNT_HW_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.