geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Public Member Functions | Static Public Member Functions | List of all members
geopm::EpochIOGroup Class Reference

#include <EpochIOGroup.hpp>

Inheritance diagram for geopm::EpochIOGroup:
Inheritance graph
[legend]
Collaboration diagram for geopm::EpochIOGroup:
Collaboration graph
[legend]

Public Member Functions

 EpochIOGroup ()
 
 EpochIOGroup (const PlatformTopo &topo, ApplicationSampler &app)
 
virtual ~EpochIOGroup ()=default
 
std::set< std::string > signal_names (void) const override
 
std::set< std::string > control_names (void) const override
 
bool is_valid_signal (const std::string &signal_name) const override
 
bool is_valid_control (const std::string &control_name) const override
 
int signal_domain_type (const std::string &signal_name) const override
 
int control_domain_type (const std::string &control_name) const override
 
int push_signal (const std::string &signal_name, int domain_type, int domain_idx) override
 
int push_control (const std::string &control_name, int domain_type, int domain_idx) override
 
void read_batch (void) override
 
void write_batch (void) override
 
double sample (int batch_idx) override
 
void adjust (int batch_idx, double setting) override
 
double read_signal (const std::string &signal_name, int domain_type, int domain_idx) override
 
void write_control (const std::string &control_name, int domain_type, int domain_idx, double setting) override
 
void save_control (void) override
 
void restore_control (void) override
 
std::function< double(const std::vector< double > &)> agg_function (const std::string &signal_name) const override
 
std::function< std::string(double)> format_function (const std::string &signal_name) const override
 
std::string signal_description (const std::string &signal_name) const override
 
std::string control_description (const std::string &control_name) const override
 
int signal_behavior (const std::string &signal_name) const override
 
void save_control (const std::string &save_path) override
 
void restore_control (const std::string &save_path) override
 
std::string name (void) const override
 

Static Public Member Functions

static std::string plugin_name (void)
 
static std::unique_ptr< IOGroup > make_plugin (void)
 

Constructor & Destructor Documentation

◆ EpochIOGroup() [1/2]

geopm::EpochIOGroup::EpochIOGroup ( )

◆ EpochIOGroup() [2/2]

geopm::EpochIOGroup::EpochIOGroup ( const PlatformTopo &  topo,
ApplicationSampler app 
)

◆ ~EpochIOGroup()

virtual geopm::EpochIOGroup::~EpochIOGroup ( )
virtualdefault

Member Function Documentation

◆ adjust()

void geopm::EpochIOGroup::adjust ( int  batch_idx,
double  setting 
)
override

◆ agg_function()

std::function< double(const std::vector< double > &)> geopm::EpochIOGroup::agg_function ( const std::string &  signal_name) const
override

◆ control_description()

std::string geopm::EpochIOGroup::control_description ( const std::string &  control_name) const
override

◆ control_domain_type()

int geopm::EpochIOGroup::control_domain_type ( const std::string &  control_name) const
override

◆ control_names()

std::set< std::string > geopm::EpochIOGroup::control_names ( void  ) const
override

◆ format_function()

std::function< std::string(double)> geopm::EpochIOGroup::format_function ( const std::string &  signal_name) const
override

◆ is_valid_control()

bool geopm::EpochIOGroup::is_valid_control ( const std::string &  control_name) const
override

◆ is_valid_signal()

bool geopm::EpochIOGroup::is_valid_signal ( const std::string &  signal_name) const
override

◆ make_plugin()

std::unique_ptr< IOGroup > geopm::EpochIOGroup::make_plugin ( void  )
static

◆ name()

std::string geopm::EpochIOGroup::name ( void  ) const
override

◆ plugin_name()

std::string geopm::EpochIOGroup::plugin_name ( void  )
static

◆ push_control()

int geopm::EpochIOGroup::push_control ( const std::string &  control_name,
int  domain_type,
int  domain_idx 
)
override

◆ push_signal()

int geopm::EpochIOGroup::push_signal ( const std::string &  signal_name,
int  domain_type,
int  domain_idx 
)
override

◆ read_batch()

void geopm::EpochIOGroup::read_batch ( void  )
override

update_records() will get called by controller

◆ read_signal()

double geopm::EpochIOGroup::read_signal ( const std::string &  signal_name,
int  domain_type,
int  domain_idx 
)
override

◆ restore_control() [1/2]

void geopm::EpochIOGroup::restore_control ( const std::string &  save_path)
override

◆ restore_control() [2/2]

void geopm::EpochIOGroup::restore_control ( void  )
override

◆ sample()

double geopm::EpochIOGroup::sample ( int  batch_idx)
override

◆ save_control() [1/2]

void geopm::EpochIOGroup::save_control ( const std::string &  save_path)
override

◆ save_control() [2/2]

void geopm::EpochIOGroup::save_control ( void  )
override

◆ signal_behavior()

int geopm::EpochIOGroup::signal_behavior ( const std::string &  signal_name) const
override

◆ signal_description()

std::string geopm::EpochIOGroup::signal_description ( const std::string &  signal_name) const
override

◆ signal_domain_type()

int geopm::EpochIOGroup::signal_domain_type ( const std::string &  signal_name) const
override

◆ signal_names()

std::set< std::string > geopm::EpochIOGroup::signal_names ( void  ) const
override

◆ write_batch()

void geopm::EpochIOGroup::write_batch ( void  )
override

◆ write_control()

void geopm::EpochIOGroup::write_control ( const std::string &  control_name,
int  domain_type,
int  domain_idx,
double  setting 
)
override

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