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

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

Variants

CPUCycles

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

Instructions

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

CacheReferences

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

CacheMisses

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

BranchInstructions

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

BranchMisses

Mispredicted branch instructions.

BusCycles

Bus cycles, which can be different from total cycles.

StalledCyclesFrontend

Stalled cycles during issue. (Since Linux 3.0)

StalledCyclesBackend

Stalled cycles during retirement. (Since Linux 3.0)

RefCPUCycles

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.