Struct libcpuid_dump::AmdProcTopo
source · pub struct AmdProcTopo {
pub ext_apic_id: u32,
pub threads_per_core: u8,
pub core_id: u8,
pub nodes_per_processor: u8,
pub node_id: u8,
}
Expand description
Information available from CPUID.(EAX=8000_001Eh)
, AMD CPU only
Fields§
§ext_apic_id: u32
§threads_per_core: u8
§core_id: u8
§nodes_per_processor: u8
§node_id: u8
Implementations§
source§impl AmdProcTopo
impl AmdProcTopo
Trait Implementations§
source§impl Clone for AmdProcTopo
impl Clone for AmdProcTopo
source§fn clone(&self) -> AmdProcTopo
fn clone(&self) -> AmdProcTopo
Returns a copy of the value. Read more
1.0.0 · 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 AmdProcTopo
impl Debug for AmdProcTopo
source§impl From<&CpuidResult> for AmdProcTopo
impl From<&CpuidResult> for AmdProcTopo
source§fn from(cpuid: &CpuidResult) -> Self
fn from(cpuid: &CpuidResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AmdProcTopo
impl Send for AmdProcTopo
impl Sync for AmdProcTopo
impl Unpin for AmdProcTopo
impl UnwindSafe for AmdProcTopo
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