PqosExtendedFeatureInfo

Struct PqosExtendedFeatureInfo 

Source
pub struct PqosExtendedFeatureInfo<R: CpuIdReader> { /* private fields */ }
Expand description

Platform Quality of Service Information (LEAF=0x8000_0020).

§Platforms

✅ AMD ❌ Intel

Implementations§

Source§

impl<R: CpuIdReader> PqosExtendedFeatureInfo<R>

Source

pub fn has_l3mbe(&self) -> bool

Memory Bandwidth Enforcement is supported if set.

Source

pub fn has_l3smbe(&self) -> bool

Slow Memory Bandwidth Enforcement is supported if set.

Source

pub fn has_bmec(&self) -> bool

Bandwidth Monitoring Event Configuration is supported if set.

Source

pub fn has_l3rr(&self) -> bool

L3 Range Reservations. See “L3 Range Reservation” in APM Volume 2 is supported if set.

Source

pub fn has_abmc(&self) -> bool

Assignable Bandwidth Monitoring Counters is supported if set.

Source

pub fn has_sdciae(&self) -> bool

Smart Data Cache Injection (SDCI) Allocation Enforcement is supported if set.

Source

pub fn get_l3_memory_bandwidth_enforcement_info( &self, ) -> Option<L3MemoryBandwidthEnforcementInformation>

Get L3 Memory Bandwidth Enforcement Information

Source

pub fn get_l3_slow_memory_bandwidth_enforcement_info( &self, ) -> Option<L3MemoryBandwidthEnforcementInformation>

Get L3 Slow Memory Bandwidth Enforcement Information

Source

pub fn get_bandwidth_monitoring_event_counters_info( &self, ) -> Option<BandwidthMonitoringEventCounters>

Get Bandwidth Monitoring Event Counters Information

Source

pub fn get_assignable_bandwidth_monitoring_counters_info( &self, ) -> Option<AssignableBandwidthMonitoringCounterInfo>

Get Bandwidth Monitoring Event Counters Information

Trait Implementations§

Source§

impl<R: CpuIdReader> Debug for PqosExtendedFeatureInfo<R>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<R: PartialEq + CpuIdReader> PartialEq for PqosExtendedFeatureInfo<R>

Source§

fn eq(&self, other: &PqosExtendedFeatureInfo<R>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<R: Eq + CpuIdReader> Eq for PqosExtendedFeatureInfo<R>

Source§

impl<R: CpuIdReader> StructuralPartialEq for PqosExtendedFeatureInfo<R>

Auto Trait Implementations§

§

impl<R> Freeze for PqosExtendedFeatureInfo<R>
where R: Freeze,

§

impl<R> RefUnwindSafe for PqosExtendedFeatureInfo<R>
where R: RefUnwindSafe,

§

impl<R> Send for PqosExtendedFeatureInfo<R>
where R: Send,

§

impl<R> Sync for PqosExtendedFeatureInfo<R>
where R: Sync,

§

impl<R> Unpin for PqosExtendedFeatureInfo<R>
where R: Unpin,

§

impl<R> UnwindSafe for PqosExtendedFeatureInfo<R>
where R: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.