MuldeR's Utilities for Qt
MUtilities
|
This file contains function for detecting information about the CPU. More...
Go to the source code of this file.
Classes | |
struct | MUtils::CPUFetaures::cpu_info_t |
Struct to hold information about the CPU. More... | |
Namespaces | |
MUtils | |
Global MUtils namespace. | |
MUtils::CPUFetaures | |
This namespace contains functions and constants for detecting CPU information. | |
Functions | |
MUTILS_API cpu_info_t | MUtils::CPUFetaures::detect (void) |
Detect processor information. More... | |
Variables | |
static const uint8_t | MUtils::CPUFetaures::VENDOR_INTEL = 0x01U |
CPU vendor flag. More... | |
static const uint8_t | MUtils::CPUFetaures::VENDOR_AMD = 0x02U |
CPU vendor flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_CMOV = 0x001U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_MMX = 0x002U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_SSE = 0x004U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_SSE2 = 0x008U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_SSE3 = 0x010U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_SSSE3 = 0x020U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_SSE4 = 0x030U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_SSE42 = 0x080U |
CPU feature flag. More... | |
static const quint32 | MUtils::CPUFetaures::FLAG_AVX = 0x100U |
CPU feature flag. More... | |
This file contains function for detecting information about the CPU.
Call the MUtils::CPUFetaures::detect() to detect information about the processor, which will be returned in a MUtils::CPUFetaures::cpu_info_t
struct.