|
geopm 3.2.1.dev237+gbe30cff60
GEOPM - Global Extensible Open Power Manager
|
This class encodes how to access fields within an MSR, but does not hold the state of any registers. More...
#include <MSR.hpp>
Public Types | |
| enum | m_function_e { M_FUNCTION_SCALE , M_FUNCTION_LOG_HALF , M_FUNCTION_7_BIT_FLOAT , M_FUNCTION_LOGIC , M_FUNCTION_OVERFLOW , M_NUM_FUNCTION } |
Static Public Member Functions | |
| static m_function_e | string_to_function (const std::string &str) |
| Convert a string to the corresponding m_function_e value. | |
This class encodes how to access fields within an MSR, but does not hold the state of any registers.
|
static |
Convert a string to the corresponding m_function_e value.