geopm  3.1.1.dev214+gba4f9f6d
GEOPM - Global Extensible Open Power Manager
Public Types | Static Public Member Functions | List of all members
geopm::MSR Class Reference

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...
 

Detailed Description

This class encodes how to access fields within an MSR, but does not hold the state of any registers.

Member Enumeration Documentation

◆ m_function_e

Enumerator
M_FUNCTION_SCALE 
M_FUNCTION_LOG_HALF 
M_FUNCTION_7_BIT_FLOAT 
M_FUNCTION_LOGIC 
M_FUNCTION_OVERFLOW 
M_NUM_FUNCTION 

Member Function Documentation

◆ string_to_function()

MSR::m_function_e geopm::MSR::string_to_function ( const std::string &  str)
static

Convert a string to the corresponding m_function_e value.


The documentation for this class was generated from the following files: