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<ProcessorTopologyInfo> for ProcessorTopologyInfo
impl PartialEq<ProcessorTopologyInfo> for ProcessorTopologyInfo
source§fn eq(&self, other: &ProcessorTopologyInfo) -> bool
fn eq(&self, other: &ProcessorTopologyInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.