geopm
3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
|
#include <cstdint>
#include <string>
#include "geopm_time.h"
Go to the source code of this file.
Classes | |
struct | geopm::record_s |
Record of an application event. More... | |
struct | geopm::short_region_s |
Namespaces | |
geopm | |
Enumerations | |
enum | geopm::event_e { geopm::EVENT_REGION_ENTRY = 0 , geopm::EVENT_REGION_EXIT = 1 , geopm::EVENT_EPOCH_COUNT = 2 , geopm::EVENT_SHORT_REGION = 3 , geopm::EVENT_AFFINITY = 9 , geopm::EVENT_START_PROFILE = 10 , geopm::EVENT_STOP_PROFILE = 11 , geopm::EVENT_OVERHEAD = 12 } |
Enumeration of event types that can be stored in a record. More... | |
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... | |