SimGrid  3.21
Versatile Simulation of Distributed Systems
simgrid::plugin::dvfs::Powersave 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 "powersave" sets the CPU statically to the lowest frequency within the borders of scaling_min_freq and scaling_max_freq.

We do not support scaling_min_freq/scaling_max_freq – we just pick the lowest frequency.

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

Public Member Functions

 Powersave (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

◆ Powersave()

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

Member Function Documentation

◆ get_name()

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

◆ update()

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

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