SimGrid
3.21
Versatile Simulation of Distributed Systems
|
This is the conservative governor, which is very similar to the OnDemand governor.
The Linux Kernel Documentation describes it very well, see https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt:
The CPUfreq governor "conservative", much like the "ondemand" governor, sets the CPU frequency depending on the current usage. It differs in behaviour in that it gracefully increases and decreases the CPU speed rather than jumping to max speed the moment there is any load on the CPU. This behaviour is more suitable in a battery powered environment.
Inherits simgrid::plugin::dvfs::Governor.
Public Member Functions | |
Conservative (simgrid::s4u::Host *ptr) | |
virtual std::string | get_name () const override |
virtual void | update () override |
![]() | |
Governor (simgrid::s4u::Host *ptr) | |
virtual | ~Governor ()=default |
simgrid::s4u::Host * | get_host () const |
int | get_min_pstate () const |
int | get_max_pstate () const |
void | init () |
double | get_sampling_rate () const |
|
inlineexplicit |
|
inlineoverridevirtual |
Implements simgrid::plugin::dvfs::Governor.
|
inlineoverridevirtual |
Implements simgrid::plugin::dvfs::Governor.