Struct libcpuid_dump::AmdExtTopo
source · pub struct AmdExtTopo {
pub asymmetric_cores: bool,
pub hetero_cores: bool,
pub eff_rank_available: bool,
pub next_level: u8,
pub core_type: Option<AmdCoreType>,
pub native_model_id: Option<AmdNativeModelId>,
pub eff_rank: Option<u8>,
pub num_proc: u16,
pub level_type: AmdTopoLevelType,
pub ext_apic_id: u32,
/* private fields */
}
Expand description
AMD Extended Topology, available from CPUID.(EAX=8000_0026h, ECX=n)
Fields§
§asymmetric_cores: bool
§hetero_cores: bool
§eff_rank_available: bool
§next_level: u8
§core_type: Option<AmdCoreType>
§native_model_id: Option<AmdNativeModelId>
§eff_rank: Option<u8>
§num_proc: u16
§level_type: AmdTopoLevelType
§ext_apic_id: u32
Implementations§
source§impl AmdExtTopo
impl AmdExtTopo
Trait Implementations§
source§impl Clone for AmdExtTopo
impl Clone for AmdExtTopo
source§fn clone(&self) -> AmdExtTopo
fn clone(&self) -> AmdExtTopo
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 AmdExtTopo
impl Debug for AmdExtTopo
source§impl From<&CpuidResult> for AmdExtTopo
impl From<&CpuidResult> for AmdExtTopo
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 AmdExtTopo
impl Send for AmdExtTopo
impl Sync for AmdExtTopo
impl Unpin for AmdExtTopo
impl UnwindSafe for AmdExtTopo
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