geopm 3.1.1.dev410+g40bf96ed
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
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

namespace  geopm
 

Functions

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