bool feat(mrpt::cpu::feature f) const noexcept
void overrideDetectedFeature(feature f, bool newValue) noexcept
Blindly enables/disables a CPU feature flag in the list of detected features to be reported in subseq...
bool & feat(mrpt::cpu::feature f) noexcept
feature
OS-portable set of CPU feature definitions, for usage in mrpt::cpu::supports.
bool supports(feature f) noexcept
Returns true if the current CPU (and OS) supports the given CPU feature.
std::array< bool, static_cast< std::size_t >mrpt::cpu::feature::FEATURE_COUNT)> feat_detected
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