Crate cupid[][src]

extern crate cupid;

fn main() {
    let information = cupid::master();
    println!("{:#?}", information);
    if let Some(information) = information {
        if information.sse4_2() {
             println!("SSE 4.2 Available");
        }
    }
}

Structs

BrandString
CacheLine
ExtendedProcessorSignature
ExtendedTopologyEnumeration
ExtendedTopologyLeaf
Master

Information about the currently running processor

PhysicalAddressSize
ProcessorExtendedState
ProcessorExtendedStateSecondary
StructuredExtendedInformation
ThermalPowerManagementInformation
TimeStampCounter
VersionInformation

Enums

CacheLineAssociativity
TopologyType

Functions

master

The main entrypoint to the CPU information