#include <PowerGovernor.hpp>
|
static std::unique_ptr< PowerGovernor > | make_unique (void) |
| Returns a unique_ptr to a concrete object constructed using the underlying implementation. More...
|
|
static std::shared_ptr< PowerGovernor > | make_shared (void) |
| Returns a shared_ptr to a concrete object constructed using the underlying implementation. More...
|
|
◆ PowerGovernor()
geopm::PowerGovernor::PowerGovernor |
( |
| ) |
|
|
default |
◆ ~PowerGovernor()
virtual geopm::PowerGovernor::~PowerGovernor |
( |
| ) |
|
|
virtualdefault |
◆ adjust_platform()
virtual void geopm::PowerGovernor::adjust_platform |
( |
double |
node_power_request, |
|
|
double & |
node_power_actual |
|
) |
| |
|
pure virtual |
Calculates metric of DRAM power history, subtracting that value from the provided target node power.
- Parameters
-
[in] | node_power_request | Total expected node power consumption. |
[out] | node_power_actual | Achievable node power limit. Should equal |
- Returns
- True if platform adjustments have been made, false otherwise.
Implemented in geopm::PowerGovernorImp.
◆ do_write_batch()
virtual bool geopm::PowerGovernor::do_write_batch |
( |
void |
| ) |
const |
|
pure virtual |
◆ init_platform_io()
virtual void geopm::PowerGovernor::init_platform_io |
( |
void |
| ) |
|
|
pure virtual |
◆ make_shared()
std::shared_ptr< PowerGovernor > geopm::PowerGovernor::make_shared |
( |
void |
| ) |
|
|
static |
Returns a shared_ptr to a concrete object constructed using the underlying implementation.
◆ make_unique()
std::unique_ptr< PowerGovernor > geopm::PowerGovernor::make_unique |
( |
void |
| ) |
|
|
static |
Returns a unique_ptr to a concrete object constructed using the underlying implementation.
◆ power_package_time_window()
virtual double geopm::PowerGovernor::power_package_time_window |
( |
void |
| ) |
const |
|
pure virtual |
Get the time window for controlling package power.
- Returns
- Time window in units of seconds.
Implemented in geopm::PowerGovernorImp.
◆ sample_platform()
virtual void geopm::PowerGovernor::sample_platform |
( |
void |
| ) |
|
|
pure virtual |
◆ set_power_bounds()
virtual void geopm::PowerGovernor::set_power_bounds |
( |
double |
min_pkg_power, |
|
|
double |
max_pkg_power |
|
) |
| |
|
pure virtual |
Sets min and max package bounds.
- Parameters
-
[in] | min_pkg_power | Minimum package power. |
[in] | max_pkg_power | Maximum package power. |
Implemented in geopm::PowerGovernorImp.
The documentation for this class was generated from the following files: