This is the documentation for Enlighten.
module CPU Features
Classes
Name | Description |
|---|---|
Sets the state of the floating point control word, and restores the original value when the object is destroyed. |
Enums
Name | Description |
|---|---|
PC CPU vendors. |
Variables
Name | Description |
|---|---|
const Geo::u32 GEO_CPU_FEATURE_AVX = 0x00000100 | This cpu supports AVX. |
const Geo::u32 GEO_CPU_FEATURE_F16C = 0x00000200 | This cpu supports F16C. |
const Geo::u32 GEO_CPU_FEATURE_FMA3 = 0x00000400 | This cpu supports FMA3. |
const Geo::u32 GEO_CPU_FEATURE_FMA4 = 0x00000080 | This cpu supports FMA4. |
const Geo::u32 GEO_CPU_FEATURE_MMX = 0x00000001 | This cpu supports mmx technology. |
const Geo::u32 GEO_CPU_FEATURE_SSE = 0x00000002 | This cpu supports version 1 of SSE. |
const Geo::u32 GEO_CPU_FEATURE_SSE2 = 0x00000004 | This cpu supports version 2 of SSE. |
const Geo::u32 GEO_CPU_FEATURE_SSE3 = 0x00000008 | This cpu supports version 3 of SSE. |
const Geo::u32 GEO_CPU_FEATURE_SSE41 = 0x00000020 | This cpu supports version 4.1 of SSE. |
const Geo::u32 GEO_CPU_FEATURE_SSE42 = 0x00000040 | This cpu supports version 4.2 of SSE. |
const Geo::u32 GEO_CPU_FEATURE_SSSE3 = 0x00000010 | This cpu supports the Supplemental Streaming SIMD Extensions 3 (SSSE3). |
Functions
Name | Description |
|---|---|
Destructor. | |
Constructor. | |
Retrieve the processors features as a set of flags. | |
Get the PC CPU vendor. | |
Get the PC CPU vendor as a string. | |
Get the number of logical cores. |
eCpuVendor
public: enum eCpuVendor
{
CPU_VENDOR_UNKNOWN = 0,
CPU_VENDOR_INTEL,
CPU_VENDOR_AMD
}
PC CPU vendors.
enumerators
CPU_VENDOR_UNKNOWN |
|
CPU_VENDOR_INTEL |
|
CPU_VENDOR_AMD |
|