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 | |
| Master |
Information about the currently running processor |
| PhysicalAddressSize | |
| ProcessorExtendedState | |
| ProcessorExtendedStateSecondary | |
| StructuredExtendedInformation | |
| ThermalPowerManagementInformation | |
| TimeStampCounter | |
| VersionInformation |
Enums
| CacheLineAssociativity |
Functions
| master |
The main entrypoint to the CPU information |