Struct x86::cpuid::ExtendedTopologyLevel [−][src]
pub struct ExtendedTopologyLevel { /* fields omitted */ }
Gives detailed information about the current level in the topology (how many cores, what type etc.).
Implementations
impl ExtendedTopologyLevel
[src]
impl ExtendedTopologyLevel
[src]pub fn processors(&self) -> u16
[src]
Number of logical processors at this level type. The number reflects configuration as shipped.
pub fn level_number(&self) -> u8
[src]
Level number.
pub fn level_type(&self) -> TopologyType
[src]
pub fn x2apic_id(&self) -> u32
[src]
x2APIC ID the current logical processor. (Bits 31-00)
pub fn shift_right_for_next_apic_id(&self) -> u32
[src]
Number of bits to shift right on x2APIC ID to get a unique topology ID of the next level type. (Bits 04-00) All logical processors with the same next level ID share current level.
Trait Implementations
impl Debug for ExtendedTopologyLevel
[src]
impl Debug for ExtendedTopologyLevel
[src]impl Default for ExtendedTopologyLevel
[src]
impl Default for ExtendedTopologyLevel
[src]pub fn default() -> ExtendedTopologyLevel
[src]
Auto Trait Implementations
impl Send for ExtendedTopologyLevel
impl Send for ExtendedTopologyLevel
impl Sync for ExtendedTopologyLevel
impl Sync for ExtendedTopologyLevel
impl Unpin for ExtendedTopologyLevel
impl Unpin for ExtendedTopologyLevel