Class representing the different energy sensor options. More...
#include <EnergySensorOption.h>
Public Types | |
enum | Value { likwid , rapl } |
Possible choices for energy sensor. More... | |
Public Member Functions | |
EnergySensorOption ()=default | |
Cosntructor. | |
constexpr | EnergySensorOption (Value option) |
Cosntructor with selected option. | |
constexpr | operator Value () const |
Cast to value. | |
Static Public Member Functions | |
static std::map< EnergySensorOption, std::string > | getOptionNames () |
Provide a way to iterate over the options of EnergySensorOption. | |
Class representing the different energy sensor options.
|
inlineconstexpr |
Cosntructor with selected option.
option |
|
inlinestatic |
Provide a way to iterate over the options of EnergySensorOption.
|
inlineconstexpr |
Cast to value.