Struct raw_cpuid::ProcessorTopologyInfo
source · [−]pub struct ProcessorTopologyInfo { /* private fields */ }
Expand description
Implementations
sourceimpl ProcessorTopologyInfo
impl ProcessorTopologyInfo
sourcepub fn threads_per_core(&self) -> u8
pub fn threads_per_core(&self) -> u8
Threads per core
Note
Threads per Core
means Cores per Compute Unit
if AMD Family 15h-16h Processors.
sourcepub fn nodes_per_processor(&self) -> u8
pub fn nodes_per_processor(&self) -> u8
Nodes per processor
Trait Implementations
sourceimpl Debug for ProcessorTopologyInfo
impl Debug for ProcessorTopologyInfo
sourceimpl PartialEq<ProcessorTopologyInfo> for ProcessorTopologyInfo
impl PartialEq<ProcessorTopologyInfo> for ProcessorTopologyInfo
sourcefn eq(&self, other: &ProcessorTopologyInfo) -> bool
fn eq(&self, other: &ProcessorTopologyInfo) -> bool
impl Eq for ProcessorTopologyInfo
impl StructuralEq for ProcessorTopologyInfo
impl StructuralPartialEq for ProcessorTopologyInfo
Auto Trait Implementations
impl RefUnwindSafe for ProcessorTopologyInfo
impl Send for ProcessorTopologyInfo
impl Sync for ProcessorTopologyInfo
impl Unpin for ProcessorTopologyInfo
impl UnwindSafe for ProcessorTopologyInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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