#[non_exhaustive]pub enum ProcessorAttribute {
EfficiencyClass,
}Expand description
A per-processor attribute that more than one source may describe.
D-18’s second subject kind. Relation unification
matches on (kind, membership), so two sources describing one core agree
about that even when they disagree about a number hanging off it – and
that disagreement has nowhere to live in a relation, because both
observations name the same relation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EfficiencyClass
The scheduler’s efficiency class.
Both Windows APIs report it: the relationship walk attaches it to a core, and CPU Sets to each processor. On a hybrid part this is the value that decides whether a processor is a performance or an efficiency core, so a silent disagreement is a planning defect that shows up only in a percentile.
Trait Implementations§
Source§impl Clone for ProcessorAttribute
impl Clone for ProcessorAttribute
Source§fn clone(&self) -> ProcessorAttribute
fn clone(&self) -> ProcessorAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessorAttribute
Source§impl Debug for ProcessorAttribute
impl Debug for ProcessorAttribute
Source§impl<'de> Deserialize<'de> for ProcessorAttribute
impl<'de> Deserialize<'de> for ProcessorAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessorAttribute
Source§impl Hash for ProcessorAttribute
impl Hash for ProcessorAttribute
Source§impl Ord for ProcessorAttribute
impl Ord for ProcessorAttribute
Source§fn cmp(&self, other: &ProcessorAttribute) -> Ordering
fn cmp(&self, other: &ProcessorAttribute) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProcessorAttribute
impl PartialEq for ProcessorAttribute
Source§impl PartialOrd for ProcessorAttribute
impl PartialOrd for ProcessorAttribute
Source§impl Serialize for ProcessorAttribute
impl Serialize for ProcessorAttribute
impl StructuralPartialEq for ProcessorAttribute
Auto Trait Implementations§
impl Freeze for ProcessorAttribute
impl RefUnwindSafe for ProcessorAttribute
impl Send for ProcessorAttribute
impl Sync for ProcessorAttribute
impl Unpin for ProcessorAttribute
impl UnsafeUnpin for ProcessorAttribute
impl UnwindSafe for ProcessorAttribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more