[][src]Struct raw_cpuid::PerformanceMonitoringInfo

pub struct PerformanceMonitoringInfo { /* fields omitted */ }

Methods

impl PerformanceMonitoringInfo[src]

pub fn version_id(&self) -> u8[src]

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

pub fn number_of_counters(&self) -> u8[src]

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

pub fn counter_bit_width(&self) -> u8[src]

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

pub fn ebx_length(&self) -> u8[src]

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

pub fn fixed_function_counters(&self) -> u8[src]

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

pub fn fixed_function_counters_bit_width(&self) -> u8[src]

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

pub fn has_any_thread_deprecation(&self) -> bool[src]

AnyThread deprecation

pub fn is_core_cyc_ev_unavailable(&self) -> bool[src]

Core cycle event not available if 1.

pub fn is_inst_ret_ev_unavailable(&self) -> bool[src]

Instruction retired event not available if 1.

pub fn is_ref_cycle_ev_unavailable(&self) -> bool[src]

Reference cycles event not available if 1.

pub fn is_cache_ref_ev_unavailable(&self) -> bool[src]

Last-level cache reference event not available if 1.

pub fn is_ll_cache_miss_ev_unavailable(&self) -> bool[src]

Last-level cache misses event not available if 1.

pub fn is_branch_inst_ret_ev_unavailable(&self) -> bool[src]

Branch instruction retired event not available if 1.

pub fn is_branch_midpred_ev_unavailable(&self) -> bool[src]

Branch mispredict retired event not available if 1.

Trait Implementations

impl Debug for PerformanceMonitoringInfo[src]

impl Default for PerformanceMonitoringInfo[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, 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.