vSMC
vSMC: Scalable Monte Carlo
Static Public Member Functions | Static Public Attributes | List of all members
vsmc::CPUIDFeatureInfo< CPUIDFeature > Struct Template Reference

CPU feature information. More...

#include <vsmc/utility/cpuid.hpp>

Static Public Member Functions

static std::string str ()
 A short string representing the feature. More...
 

Static Public Attributes

static constexpr const unsigned bit = 0x00U
 The bit number of the feature in the register. More...
 
static constexpr const unsigned eax = 0x00U
 The value of the calling parameter EAX. More...
 
static constexpr const unsigned ecx = 0x00U
 The value of the calling parameter ECX. More...
 
static constexpr const unsigned index = 0x00U
 The index of in CPUID::reg_type of the output register. More...
 

Detailed Description

template<CPUIDFeature>
struct vsmc::CPUIDFeatureInfo< CPUIDFeature >

CPU feature information.

This class is specialized for each value of CPUIDFeature

Definition at line 253 of file cpuid.hpp.

Member Function Documentation

template<CPUIDFeature >
static std::string vsmc::CPUIDFeatureInfo< CPUIDFeature >::str ( )
static

A short string representing the feature.

Member Data Documentation

template<CPUIDFeature >
constexpr const unsigned vsmc::CPUIDFeatureInfo< CPUIDFeature >::bit = 0x00U
static

The bit number of the feature in the register.

Definition at line 268 of file cpuid.hpp.

template<CPUIDFeature >
constexpr const unsigned vsmc::CPUIDFeatureInfo< CPUIDFeature >::eax = 0x00U
static

The value of the calling parameter EAX.

Definition at line 259 of file cpuid.hpp.

template<CPUIDFeature >
constexpr const unsigned vsmc::CPUIDFeatureInfo< CPUIDFeature >::ecx = 0x00U
static

The value of the calling parameter ECX.

Definition at line 262 of file cpuid.hpp.

template<CPUIDFeature >
constexpr const unsigned vsmc::CPUIDFeatureInfo< CPUIDFeature >::index = 0x00U
static

The index of in CPUID::reg_type of the output register.

Definition at line 265 of file cpuid.hpp.