29 uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0;
30 if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
31 qWarning () << Q_FUNC_INFO
32 <<
"failed to get CPUID eax = 1";
36 if (__get_cpuid_max (0,
nullptr) < 7)
37 qWarning () << Q_FUNC_INFO
38 <<
"cpuid max less than 7";
41 __cpuid_count (7, 0, eax, ebx, ecx, edx);
46 static std::once_flag dbgFlag;
47 std::call_once (dbgFlag,
48 [
this] { DumpDetectedFeatures (); });