Struct raw_cpuid::MonitorMwaitInfo
source · pub struct MonitorMwaitInfo { /* private fields */ }
Expand description
Implementations§
source§impl MonitorMwaitInfo
impl MonitorMwaitInfo
sourcepub fn smallest_monitor_line(&self) -> u16
pub fn smallest_monitor_line(&self) -> u16
Smallest monitor-line size in bytes (default is processor’s monitor granularity)
§Platforms
✅ AMD ✅ Intel
sourcepub fn largest_monitor_line(&self) -> u16
pub fn largest_monitor_line(&self) -> u16
Largest monitor-line size in bytes (default is processor’s monitor granularity
§Platforms
✅ AMD ✅ Intel
sourcepub fn extensions_supported(&self) -> bool
pub fn extensions_supported(&self) -> bool
Enumeration of Monitor-Mwait extensions (beyond EAX and EBX registers) supported
§Platforms
✅ AMD ✅ Intel
sourcepub fn interrupts_as_break_event(&self) -> bool
pub fn interrupts_as_break_event(&self) -> bool
Supports treating interrupts as break-event for MWAIT, even when interrupts disabled
§Platforms
✅ AMD ✅ Intel
sourcepub fn supported_c0_states(&self) -> u16
pub fn supported_c0_states(&self) -> u16
Number of C0 sub C-states supported using MWAIT (Bits 03 - 00)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c1_states(&self) -> u16
pub fn supported_c1_states(&self) -> u16
Number of C1 sub C-states supported using MWAIT (Bits 07 - 04)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c2_states(&self) -> u16
pub fn supported_c2_states(&self) -> u16
Number of C2 sub C-states supported using MWAIT (Bits 11 - 08)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c3_states(&self) -> u16
pub fn supported_c3_states(&self) -> u16
Number of C3 sub C-states supported using MWAIT (Bits 15 - 12)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c4_states(&self) -> u16
pub fn supported_c4_states(&self) -> u16
Number of C4 sub C-states supported using MWAIT (Bits 19 - 16)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c5_states(&self) -> u16
pub fn supported_c5_states(&self) -> u16
Number of C5 sub C-states supported using MWAIT (Bits 23 - 20)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c6_states(&self) -> u16
pub fn supported_c6_states(&self) -> u16
Number of C6 sub C-states supported using MWAIT (Bits 27 - 24)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel
sourcepub fn supported_c7_states(&self) -> u16
pub fn supported_c7_states(&self) -> u16
Number of C7 sub C-states supported using MWAIT (Bits 31 - 28)
§Platforms
❌ AMD (undefined/reserved) ✅ Intel