geopm
3.1.1.dev272+gdfb40a8d
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. More... | |
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.