12 #include <mrpt/config.h> 33 #define cpuid(info, x) __cpuidex(info, x, 0) 39 cpuid(info, 0x80000000);
40 unsigned nExIds = info[0];
45 if (nIds >= 0x00000001)
47 cpuid(info, 0x00000001);
58 if (nIds >= 0x00000007)
60 cpuid(info, 0x00000007);
79 #if defined(__x86_64__) std::string std::string format(std::string_view fmt, ARGS &&... args)
bool & feat(mrpt::cpu::feature f) noexcept
std::string features_as_string() noexcept
Returns a string with detected features: "MMX:1 SSE2:0 etc.".
void detect_impl() noexcept
static CPU_analyzer & Instance() noexcept