MRPT  2.0.1
Classes | Namespaces | Enumerations | Functions
cpu.h File Reference
#include <mrpt/core/common.h>
#include <array>
#include <string>
Include dependency graph for cpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mrpt::cpu::internal::CPU_analyzer
 Auxiliary class. More...
 

Namespaces

 mrpt::cpu
 
 mrpt::cpu::internal
 

Enumerations

enum  mrpt::cpu::feature : unsigned int {
  mrpt::cpu::feature::MMX = 0, mrpt::cpu::feature::POPCNT, mrpt::cpu::feature::SSE, mrpt::cpu::feature::SSE2,
  mrpt::cpu::feature::SSE3, mrpt::cpu::feature::SSSE3, mrpt::cpu::feature::SSE4_1, mrpt::cpu::feature::SSE4_2,
  mrpt::cpu::feature::AVX, mrpt::cpu::feature::AVX2, mrpt::cpu::feature::FEATURE_COUNT
}
 OS-portable set of CPU feature definitions, for usage in mrpt::cpu::supports. More...
 

Functions

bool mrpt::cpu::supports (feature f) noexcept
 Returns true if the current CPU (and OS) supports the given CPU feature. More...
 
void mrpt::cpu::overrideDetectedFeature (feature f, bool newValue) noexcept
 Blindly enables/disables a CPU feature flag in the list of detected features to be reported in subsequent calls to mrpt::cpu::supports(). More...
 
std::string mrpt::cpu::features_as_string () noexcept
 Returns a string with detected features: "MMX:1 SSE2:0 etc.". More...
 



Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020