Struct cupid::ExtendedTopologyLeaf [−][src]
pub struct ExtendedTopologyLeaf { /* fields omitted */ }
Methods
impl ExtendedTopologyLeaf
[src]
impl ExtendedTopologyLeaf
pub fn next_level_apic_id(&self) -> u32
[src]
pub fn next_level_apic_id(&self) -> u32
Get a unique topology ID of the next level type.
pub fn logical_processor_count(&self) -> u32
[src]
pub fn logical_processor_count(&self) -> u32
Number of logical processors at this level type.
The number reflects configuration as shipped by Intel.
Notes
Software must not use EBX[15:0] to enumerate processor topology of the system. This value in this field (EBX[15:0]) is only intended for display/diagnostic purposes. The actual number of logical processors available to BIOS/OS/Applications may be different from the value of EBX[15:0], depending on software and platform hardware configurations.
pub fn level_number(&self) -> u8
[src]
pub fn level_number(&self) -> u8
Level number.
pub fn level_type(&self) -> TopologyType
[src]
pub fn level_type(&self) -> TopologyType
Level type
pub fn current_logical_processor_id(&self) -> u32
[src]
pub fn current_logical_processor_id(&self) -> u32
x2APIC ID the current logical processor.
Notes
Unless the program is constrained to run on a single processor, multiple consecutive calls to this function can return different values.
Trait Implementations
impl Copy for ExtendedTopologyLeaf
[src]
impl Copy for ExtendedTopologyLeaf
impl Clone for ExtendedTopologyLeaf
[src]
impl Clone for ExtendedTopologyLeaf
fn clone(&self) -> ExtendedTopologyLeaf
[src]
fn clone(&self) -> ExtendedTopologyLeaf
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ExtendedTopologyLeaf
[src]
impl Debug for ExtendedTopologyLeaf
Auto Trait Implementations
impl Send for ExtendedTopologyLeaf
impl Send for ExtendedTopologyLeaf
impl Sync for ExtendedTopologyLeaf
impl Sync for ExtendedTopologyLeaf