pub struct CoreRelation {
pub simultaneous_multithreading: bool,
pub efficiency_class: u8,
pub processors: ProcessorSet,
}Expand description
A processor core: one or more logical processors sharing a physical core as SMT siblings.
Fields§
§simultaneous_multithreading: boolWhether this core has more than one logical processor (SMT / hyperthreading).
efficiency_class: u8The scheduler’s efficiency class for this core. Windows documents only that a higher value means intrinsically greater performance and less power efficiency than a lower value on a hybrid part; it does not fix an absolute scale.
processors: ProcessorSetThe logical processors that make up this core.
Trait Implementations§
Source§impl Clone for CoreRelation
impl Clone for CoreRelation
Source§fn clone(&self) -> CoreRelation
fn clone(&self) -> CoreRelation
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 moreSource§impl Debug for CoreRelation
impl Debug for CoreRelation
impl Eq for CoreRelation
Source§impl PartialEq for CoreRelation
impl PartialEq for CoreRelation
impl StructuralPartialEq for CoreRelation
Auto Trait Implementations§
impl Freeze for CoreRelation
impl RefUnwindSafe for CoreRelation
impl Send for CoreRelation
impl Sync for CoreRelation
impl Unpin for CoreRelation
impl UnsafeUnpin for CoreRelation
impl UnwindSafe for CoreRelation
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