[][src]Enum criterion_linux_perf::PerfMode

pub enum PerfMode {
    Instructions,
    Cycles,
    Branches,
    BranchMisses,
    CacheRefs,
    CacheMisses,
    BusCycles,
    RefCycles,
}

The perf counter to measure when running a benchmark.

Variants

Instructions

The number of instructions retired. These can be affected by various issues, most notably hardware interrupt counts.

Cycles

The total number of CPU cycles. This can be affected by CPU frequency scaling.

Branches

The number of branch instructions retired.

BranchMisses

The number of mispredicted branches.

CacheRefs

The number of cache accesses.

CacheMisses

The number of cache misses.

BusCycles

The number of bus cycles elapsed.

RefCycles

The total number of CPU cycles elapsed. This is not affected by CPU frequency scaling.

Trait Implementations

impl Clone for PerfMode[src]

impl Copy for PerfMode[src]

impl Debug for PerfMode[src]

impl Eq for PerfMode[src]

impl PartialEq<PerfMode> for PerfMode[src]

impl StructuralEq for PerfMode[src]

impl StructuralPartialEq for PerfMode[src]

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> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.