Struct raw_cpuid::MonitorMwaitInfo
source · [−]pub struct MonitorMwaitInfo { /* private fields */ }
Expand description
Implementations
sourceimpl 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
Trait Implementations
sourceimpl Debug for MonitorMwaitInfo
impl Debug for MonitorMwaitInfo
sourceimpl PartialEq<MonitorMwaitInfo> for MonitorMwaitInfo
impl PartialEq<MonitorMwaitInfo> for MonitorMwaitInfo
sourcefn eq(&self, other: &MonitorMwaitInfo) -> bool
fn eq(&self, other: &MonitorMwaitInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MonitorMwaitInfo) -> bool
fn ne(&self, other: &MonitorMwaitInfo) -> bool
This method tests for !=
.
impl Eq for MonitorMwaitInfo
impl StructuralEq for MonitorMwaitInfo
impl StructuralPartialEq for MonitorMwaitInfo
Auto Trait Implementations
impl RefUnwindSafe for MonitorMwaitInfo
impl Send for MonitorMwaitInfo
impl Sync for MonitorMwaitInfo
impl Unpin for MonitorMwaitInfo
impl UnwindSafe for MonitorMwaitInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more