Struct raw_cpuid::ProcessorTopologyInfo
source · pub struct ProcessorTopologyInfo { /* private fields */ }
Expand description
Implementations§
source§impl 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§
source§impl Debug for ProcessorTopologyInfo
impl Debug for ProcessorTopologyInfo
source§impl PartialEq for ProcessorTopologyInfo
impl PartialEq for ProcessorTopologyInfo
impl Eq for ProcessorTopologyInfo
impl StructuralPartialEq for ProcessorTopologyInfo
Auto Trait Implementations§
impl Freeze for ProcessorTopologyInfo
impl RefUnwindSafe for ProcessorTopologyInfo
impl Send for ProcessorTopologyInfo
impl Sync for ProcessorTopologyInfo
impl Unpin for ProcessorTopologyInfo
impl UnwindSafe for ProcessorTopologyInfo
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