Struct raw_cpuid::PerformanceMonitoringInfo
source · pub struct PerformanceMonitoringInfo { /* private fields */ }
Expand description
Implementations§
source§impl PerformanceMonitoringInfo
impl PerformanceMonitoringInfo
sourcepub fn version_id(&self) -> u8
pub fn version_id(&self) -> u8
Version ID of architectural performance monitoring. (Bits 07 - 00)
sourcepub fn number_of_counters(&self) -> u8
pub fn number_of_counters(&self) -> u8
Number of general-purpose performance monitoring counter per logical processor. (Bits 15- 08)
sourcepub fn counter_bit_width(&self) -> u8
pub fn counter_bit_width(&self) -> u8
Bit width of general-purpose, performance monitoring counter. (Bits 23 - 16)
sourcepub fn ebx_length(&self) -> u8
pub fn ebx_length(&self) -> u8
Length of EBX bit vector to enumerate architectural performance monitoring events. (Bits 31 - 24)
sourcepub fn fixed_function_counters(&self) -> u8
pub fn fixed_function_counters(&self) -> u8
Number of fixed-function performance counters (if Version ID > 1). (Bits 04 - 00)
sourcepub fn fixed_function_counters_bit_width(&self) -> u8
pub fn fixed_function_counters_bit_width(&self) -> u8
Bit width of fixed-function performance counters (if Version ID > 1). (Bits 12- 05)
sourcepub fn has_any_thread_deprecation(&self) -> bool
pub fn has_any_thread_deprecation(&self) -> bool
AnyThread deprecation
Core cycle event not available if 1.
Instruction retired event not available if 1.
Reference cycles event not available if 1.
Last-level cache reference event not available if 1.
Last-level cache misses event not available if 1.
Branch instruction retired event not available if 1.
Branch mispredict retired event not available if 1.