35 #include <QStringList> quint32 family
CPU family indicator, which specifies the processor "generation" to which the CPU belongs...
Definition: CPUFeatures.h:69
This file contains miscellaneous functions that are generally useful for Qt-based applications...
-
quint32 stepping
CPU stepping indicator, which is used to distinguish "revisions" of a certain processor model...
Definition: CPUFeatures.h:68
+
quint32 stepping
CPU stepping indicator, which is used to distinguish "revisions" of a certain processor model...
Definition: CPUFeatures.h:71
static const quint32 FLAG_SSE
CPU feature flag.
Definition: CPUFeatures.h:53
-
quint32 features
CPU feature flags, indicating suppoprt for extended instruction sets; all flags are OR-combined...
Definition: CPUFeatures.h:70
-
Struct to hold information about the CPU. See _cpu_info_t for details!
Definition: CPUFeatures.h:64
-
quint32 count
The number of available (logical) processors.
Definition: CPUFeatures.h:69
+
quint32 features
CPU feature flags, indicating suppoprt for extended instruction sets; all flags are OR-combined...
Definition: CPUFeatures.h:73
+
static const quint32 FLAG_AVX2
CPU feature flag.
Definition: CPUFeatures.h:60
+
Struct to hold information about the CPU. See _cpu_info_t for details!
Definition: CPUFeatures.h:67
+
quint32 count
The number of available (logical) processors.
Definition: CPUFeatures.h:72
static const quint32 FLAG_SSE3
CPU feature flag.
Definition: CPUFeatures.h:55
static const quint32 FLAG_SSSE3
CPU feature flag.
Definition: CPUFeatures.h:56
static const quint8 VENDOR_AMD
CPU vendor flag.
Definition: CPUFeatures.h:48
struct MUtils::CPUFetaures::_cpu_info_t cpu_info_t
Struct to hold information about the CPU. See _cpu_info_t for details!
static const quint32 FLAG_SSE42
CPU feature flag.
Definition: CPUFeatures.h:58
-
quint8 vendor
CPU vendor flag; might be zero, if vendor is unknown.
Definition: CPUFeatures.h:72
+
quint8 vendor
CPU vendor flag; might be zero, if vendor is unknown.
Definition: CPUFeatures.h:75
+
static const quint32 FLAG_SSE41
CPU feature flag.
Definition: CPUFeatures.h:57
+
static const quint32 FLAG_LZCNT
CPU feature flag.
Definition: CPUFeatures.h:62
MUTILS_API cpu_info_t detect(void)
Detect processor information.
-
bool x64
Indicates that the processor and the operating system support 64-Bit (AMD64/EM64T) ...
Definition: CPUFeatures.h:71
-
char brand[48]
CPU brand string, up to 48 characters (e.g. "Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz") ...
Definition: CPUFeatures.h:74
+
static const quint32 FLAG_FMA3
CPU feature flag.
Definition: CPUFeatures.h:61
+
bool x64
Indicates that the processor and the operating system support 64-Bit (AMD64/EM64T) ...
Definition: CPUFeatures.h:74
+
char brand[48]
CPU brand string, up to 48 characters (e.g. "Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz") ...
Definition: CPUFeatures.h:77
static const quint8 VENDOR_INTEL
CPU vendor flag.
Definition: CPUFeatures.h:47
static const quint32 FLAG_CMOV
CPU feature flag.
Definition: CPUFeatures.h:51
Global MUtils namespace.
Definition: CPUFeatures.h:37
-
char idstr[13]
CPU identifier string, exactly 12 characters (e.g. "GenuineIntel" or "AuthenticAMD") ...
Definition: CPUFeatures.h:73
+
char idstr[13]
CPU identifier string, exactly 12 characters (e.g. "GenuineIntel" or "AuthenticAMD") ...
Definition: CPUFeatures.h:76
static const quint32 FLAG_SSE2
CPU feature flag.
Definition: CPUFeatures.h:54
static const quint32 FLAG_MMX
CPU feature flag.
Definition: CPUFeatures.h:52
static const quint32 FLAG_AVX
CPU feature flag.
Definition: CPUFeatures.h:59
-
quint32 model
CPU model indicator, which is used to distinguish processor "variants" within a generation.
Definition: CPUFeatures.h:67
+
quint32 model
CPU model indicator, which is used to distinguish processor "variants" within a generation.
Definition: CPUFeatures.h:70