Enum perfcnt::linux::HardwareEventType [] [src]

pub enum HardwareEventType {
    CPUCycles,
    Instructions,
    CacheReferences,
    CacheMisses,
    BranchInstructions,
    BranchMisses,
    BusCycles,
    StalledCyclesFrontend,
    StalledCyclesBackend,
    RefCPUCycles,
}

Variants

Total cycles. Be wary of what happens during CPU frequency scaling.

Retired instructions. Be careful, these can be affected by various issues, most notably hardware interrupt counts.

Cache accesses. Usually this indicates Last Level Cache accesses but this may vary depending on your CPU. This may include prefetches and

Cache misses. Usually this indicates Last Level Cache misses; this is intended to be used in conjunction with the

Retired branch instructions. Prior to Linux 2.6.34, this used the wrong event on AMD processors.

Mispredicted branch instructions.

Bus cycles, which can be different from total cycles.

Stalled cycles during issue. (Since Linux 3.0)

Stalled cycles during retirement. (Since Linux 3.0)

Total cycles; not affected by CPU frequency scaling. (Since Linux 3.3)