MRPT  2.0.5
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions
mrpt::cpu::internal::CPU_analyzer Class Reference

Detailed Description

Auxiliary class.

Users should use mrpt::core::supports() instead.

Definition at line 42 of file cpu.h.

#include <mrpt/core/cpu.h>

Public Member Functions

bool & feat (mrpt::cpu::feature f) noexcept
bool feat (mrpt::cpu::feature f) const noexcept

Static Public Member Functions

static CPU_analyzerInstance () noexcept

Public Attributes

std::array< bool, static_cast< std::size_t >mrpt::cpu::feature::FEATURE_COUNT)> feat_detected

Private Member Functions

 CPU_analyzer () noexcept
void detect_impl () noexcept

Constructor & Destructor Documentation

◆ CPU_analyzer()

mrpt::cpu::internal::CPU_analyzer::CPU_analyzer ( )

Definition at line 62 of file cpu.h.

References detect_impl(), and feat_detected.

Here is the call graph for this function:

Member Function Documentation

◆ detect_impl()

void mrpt::cpu::internal::CPU_analyzer::detect_impl ( )

Definition at line 69 of file cpu.cpp.

References mrpt::cpu::AVX, mrpt::cpu::AVX2, feat(), mrpt::cpu::MMX, mrpt::cpu::POPCNT, mrpt::cpu::SSE, mrpt::cpu::SSE2, mrpt::cpu::SSE3, mrpt::cpu::SSE4_1, mrpt::cpu::SSE4_2, and mrpt::cpu::SSSE3.

Referenced by CPU_analyzer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ feat() [1/2]

bool& mrpt::cpu::internal::CPU_analyzer::feat ( mrpt::cpu::feature  f)

Definition at line 51 of file cpu.h.

References feat_detected.

Referenced by detect_impl().

Here is the caller graph for this function:

◆ feat() [2/2]

bool mrpt::cpu::internal::CPU_analyzer::feat ( mrpt::cpu::feature  f) const

Definition at line 55 of file cpu.h.

References feat_detected.

◆ Instance()

CPU_analyzer & mrpt::cpu::internal::CPU_analyzer::Instance ( )

Definition at line 22 of file cpu.cpp.

Referenced by mrpt::cpu::features_as_string(), mrpt::cpu::overrideDetectedFeature(), and mrpt::cpu::supports().

Here is the caller graph for this function:

Member Data Documentation

◆ feat_detected

std::array< bool, static_cast<std::size_t>mrpt::cpu::feature::FEATURE_COUNT)> mrpt::cpu::internal::CPU_analyzer::feat_detected

Definition at line 49 of file cpu.h.

Referenced by CPU_analyzer(), and feat().

Page generated by Doxygen 1.8.14 for MRPT 2.0.5 Git: eda5ade6c Tue Aug 4 12:48:50 2020 +0200 at mar ago 4 13:00:11 CEST 2020