geopm  3.1.1.dev214+gba4f9f6d
GEOPM - Global Extensible Open Power Manager
Namespaces | Functions
record.cpp File Reference
#include "record.hpp"
#include <map>
#include <utility>
#include "geopm/Exception.hpp"
#include "geopm_hint.h"
Include dependency graph for record.cpp:

Namespaces

 geopm
 

Functions

std::string geopm::event_name (int event_type)
 Format an event_e type as a string. More...
 
int geopm::event_type (const std::string &event_name)
 Convert a human-readable event type string to an event_e. More...
 
std::string geopm::hint_name (uint64_t hint)
 Format a string to represent a hint enum from the geopm_region_hint_e. More...
 
uint64_t geopm::hint_type (const std::string &hint_name)
 Parse a string representing the hint name. More...