#include <PowerGovernorImp.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...
|
|
◆ PowerGovernorImp() [1/2]
geopm::PowerGovernorImp::PowerGovernorImp |
( |
| ) |
|
◆ PowerGovernorImp() [2/2]
geopm::PowerGovernorImp::PowerGovernorImp |
( |
PlatformIO & |
platform_io, |
|
|
const PlatformTopo & |
platform_topo |
|
) |
| |
◆ ~PowerGovernorImp()
geopm::PowerGovernorImp::~PowerGovernorImp |
( |
| ) |
|
|
virtual |
◆ adjust_platform()
void geopm::PowerGovernorImp::adjust_platform |
( |
double |
node_power_request, |
|
|
double & |
node_power_actual |
|
) |
| |
|
overridevirtual |
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.
Implements geopm::PowerGovernor.
◆ do_write_batch()
bool geopm::PowerGovernorImp::do_write_batch |
( |
void |
| ) |
const |
|
overridevirtual |
◆ init_platform_io()
void geopm::PowerGovernorImp::init_platform_io |
( |
void |
| ) |
|
|
overridevirtual |
◆ power_package_time_window()
double geopm::PowerGovernorImp::power_package_time_window |
( |
void |
| ) |
const |
|
overridevirtual |
Get the time window for controlling package power.
- Returns
- Time window in units of seconds.
Implements geopm::PowerGovernor.
◆ sample_platform()
void geopm::PowerGovernorImp::sample_platform |
( |
void |
| ) |
|
|
overridevirtual |
◆ set_power_bounds()
void geopm::PowerGovernorImp::set_power_bounds |
( |
double |
min_pkg_power, |
|
|
double |
max_pkg_power |
|
) |
| |
|
overridevirtual |
Sets min and max package bounds.
- Parameters
-
[in] | min_pkg_power | Minimum package power. |
[in] | max_pkg_power | Maximum package power. |
Implements geopm::PowerGovernor.
The documentation for this class was generated from the following files: