static CPU_analyzer & Instance() 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) const noexcept
std::array< bool, static_cast< std::size_t >mrpt::cpu::feature::FEATURE_COUNT)> feat_detected
void detect_impl() noexcept
std::string features_as_string() noexcept
Returns a string with detected features: "MMX:1 SSE2:0 etc.".
bool supports(feature f) noexcept
Returns true if the current CPU (and OS) supports the given CPU feature.
feature
OS-portable set of CPU feature definitions, for usage in mrpt::cpu::supports.
bool & feat(mrpt::cpu::feature f) noexcept
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Fri Jul 17 08:43:33 UTC 2020 | |