Struct raw_cpuid::ExtendedTopologyLevel [] [src]

pub struct ExtendedTopologyLevel {
    // some fields omitted
}

Methods

impl ExtendedTopologyLevel
[src]

fn processors(&self) -> u16

Number of logical processors at this level type. The number reflects configuration as shipped.

fn level_number(&self) -> u8

Level number.

fn level_type(&self) -> TopologyType

fn x2apic_id(&self) -> u32

x2APIC ID the current logical processor. (Bits 31-00)

fn shift_right_for_next_apic_id(&self) -> u32

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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.