
Query information about the processor. More...
Classes | |
union | Reg |
Structure for register values returned by cpuid instruction. More... | |
Structs | |
struct | Reg.__unnamed__ |
Functions | |
Reg | get (Function eax) |
Get CPU identification and feature information. More... | |
bool | has (enum FeatureECX feature) |
Check if feature is provided by this system. More... | |
bool | has (enum FeatureEDX feature) |
Check if feature is provided by this system. More... | |
bool | has (enum ExtendedFeatureEDX feature) |
Check if feature is provided by this system. More... | |
Query information about the processor.
cpuid
instruction, which can return information about the processor. It should therefor not be confused with functionality to retrieve the ID of the current CPU (core)! union CPUID::Reg |
Structure for register values returned by cpuid
instruction.
Class Members | ||
---|---|---|
struct Reg | __unnamed__ | |
char | value[16] |
enum CPUID::Function |
enum CPUID::FeatureECX |
enum CPUID::FeatureEDX |
Get CPU identification and feature information.
eax | Requested feature |
cpuid
for the requested feature
|
inline |
Check if feature is provided by this system.
feature | Feature to test |
true
if available, false
otherwise
|
inline |
Check if feature is provided by this system.
feature | Feature to test |
true
if available, false
otherwise
|
inline |
Check if feature is provided by this system.
feature | Extended feature to test |
true
if available, false
if either feature or extended features are unavailable