Struct raw_cpuid::CpuId [] [src]

pub struct CpuId {
    // some fields omitted
}

Main type used to query for information about the CPU we're running on.

Methods

impl CpuId
[src]

Return new CPUID struct.

Return information about vendor. This is typically a ASCII readable string such as GenuineIntel for Intel CPUs or AuthenticAMD for AMD CPUs.

Query a set of features that are available on this CPU.

Query basic information about caches. This will just return an index into a static table of cache descriptions (see CACHE_INFO_TABLE).

Retrieve serial number of processor.

Retrieve more elaborate information about caches (as opposed to get_cache_info). This will tell us about associativity, set size, line size etc. for each level of the cache hierarchy.

Information about how monitor/mwait works on this CPU.

Query information about thermal and power management features of the CPU.

Find out about more features supported by this CPU.

Direct cache access info.

Info about performance monitoring (how many counters etc.).

Information about topology (how many cores and what kind of cores).

Information for saving/restoring extended register state.

Quality of service informations.

Quality of service enforcement information.

Intel Processor Trace Enumeration Information.

Time Stamp Counter/Core Crystal Clock Information.

Processor Frequency Information.

Extended functionality of CPU described here (including more supported features). This also contains a more detailed CPU model identifier.

Trait Implementations

impl Debug for CpuId
[src]

Formats the value using the given formatter.