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

Detailed Description

The linux kernel doc describes this governor as follows: https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt.

The CPUfreq governor "ondemand" sets the CPU frequency depending on the current system load. [...] when triggered, cpufreq checks the CPU-usage statistics over the last period and the governor sets the CPU accordingly.

Inherits simgrid::plugin::dvfs::Governor.

Public Member Functions

 OnDemand (simgrid::s4u::Host *ptr)
 
std::string get_name () const override
 
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

◆ OnDemand()

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

Member Function Documentation

◆ get_name()

std::string simgrid::plugin::dvfs::OnDemand::get_name ( ) const
inlineoverridevirtual

◆ update()

void simgrid::plugin::dvfs::OnDemand::update ( )
inlineoverridevirtual

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