Enum perfcnt::linux::HardwareEventType
[−]
[src]
pub enum HardwareEventType {
CPUCycles,
Instructions,
CacheReferences,
CacheMisses,
BranchInstructions,
BranchMisses,
BusCycles,
StalledCyclesFrontend,
StalledCyclesBackend,
RefCPUCycles,
}Variants
CPUCyclesTotal cycles. Be wary of what happens during CPU frequency scaling.
InstructionsRetired instructions. Be careful, these can be affected by various issues, most notably hardware interrupt counts.
CacheReferencesCache accesses. Usually this indicates Last Level Cache accesses but this may vary depending on your CPU. This may include prefetches and
CacheMissesCache misses. Usually this indicates Last Level Cache misses; this is intended to be used in conjunction with the
BranchInstructionsRetired branch instructions. Prior to Linux 2.6.34, this used the wrong event on AMD processors.
BranchMissesMispredicted branch instructions.
BusCyclesBus cycles, which can be different from total cycles.
StalledCyclesFrontendStalled cycles during issue. (Since Linux 3.0)
StalledCyclesBackendStalled cycles during retirement. (Since Linux 3.0)
RefCPUCyclesTotal cycles; not affected by CPU frequency scaling. (Since Linux 3.3)