SimGrid  3.21
Versatile Simulation of Distributed Systems
simgrid::plugin::dvfs::Conservative Class Reference

Detailed Description

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
 
- Public Member Functions inherited from simgrid::plugin::dvfs::Governor
 Governor (simgrid::s4u::Host *ptr)
 
virtual ~Governor ()=default
 
simgrid::s4u::Hostget_host () const
 
int get_min_pstate () const
 
int get_max_pstate () const
 
void init ()
 
double get_sampling_rate () const
 

Constructor & Destructor Documentation

◆ Conservative()

simgrid::plugin::dvfs::Conservative::Conservative ( simgrid::s4u::Host ptr)
inlineexplicit

Member Function Documentation

◆ get_name()

virtual std::string simgrid::plugin::dvfs::Conservative::get_name ( ) const
inlineoverridevirtual

◆ update()

virtual void simgrid::plugin::dvfs::Conservative::update ( )
inlineoverridevirtual

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