Struct raw_cpuid::ExtendedTopologyLevel [−][src]
pub struct ExtendedTopologyLevel { /* fields omitted */ }Methods
impl ExtendedTopologyLevel[src]
impl ExtendedTopologyLevelpub fn processors(&self) -> u16[src]
pub fn processors(&self) -> u16Number of logical processors at this level type. The number reflects configuration as shipped.
pub fn level_number(&self) -> u8[src]
pub fn level_number(&self) -> u8Level number.
pub fn level_type(&self) -> TopologyType[src]
pub fn level_type(&self) -> TopologyTypepub fn x2apic_id(&self) -> u32[src]
pub fn x2apic_id(&self) -> u32x2APIC ID the current logical processor. (Bits 31-00)
pub fn shift_right_for_next_apic_id(&self) -> u32[src]
pub fn shift_right_for_next_apic_id(&self) -> u32Number 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 ExtendedTopologyLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ExtendedTopologyLevel[src]
impl Default for ExtendedTopologyLevelfn default() -> ExtendedTopologyLevel[src]
fn default() -> ExtendedTopologyLevelReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ExtendedTopologyLevel
impl Send for ExtendedTopologyLevelimpl Sync for ExtendedTopologyLevel
impl Sync for ExtendedTopologyLevel