Struct raw_cpuid::PerformanceMonitoringInfo [] [src]

pub struct PerformanceMonitoringInfo {
    // some fields omitted
}

Methods

impl PerformanceMonitoringInfo
[src]

fn version_id(&self) -> u8

Version ID of architectural performance monitoring. (Bits 07 - 00)

fn number_of_counters(&self) -> u8

Number of general-purpose performance monitoring counter per logical processor. (Bits 15- 08)

fn counter_bit_width(&self) -> u8

Bit width of general-purpose, performance monitoring counter. (Bits 23 - 16)

fn ebx_length(&self) -> u8

Length of EBX bit vector to enumerate architectural performance monitoring events. (Bits 31 - 24)

fn fixed_function_counters(&self) -> u8

Number of fixed-function performance counters (if Version ID > 1). (Bits 04 - 00)

fn fixed_function_counters_bit_width(&self) -> u8

Bit width of fixed-function performance counters (if Version ID > 1). (Bits 12- 05)

fn is_core_cyc_ev_unavailable(&self) -> bool

Core cycle event not available if 1.

fn is_inst_ret_ev_unavailable(&self) -> bool

Instruction retired event not available if 1.

fn is_ref_cycle_ev_unavailable(&self) -> bool

Reference cycles event not available if 1.

fn is_cache_ref_ev_unavailable(&self) -> bool

Last-level cache reference event not available if 1.

fn is_ll_cache_miss_ev_unavailable(&self) -> bool

Last-level cache misses event not available if 1.

fn is_branch_inst_ret_ev_unavailable(&self) -> bool

Branch instruction retired event not available if 1.

fn is_branch_midpred_ev_unavailable(&self) -> bool

Branch mispredict retired event not available if 1.

Trait Implementations

impl Debug for PerformanceMonitoringInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.