geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Public Member Functions | List of all members
geopm::SchedulerImp Class Reference

#include <Scheduler.hpp>

Inheritance diagram for geopm::SchedulerImp:
Inheritance graph
[legend]
Collaboration diagram for geopm::SchedulerImp:
Collaboration graph
[legend]

Public Member Functions

 SchedulerImp ()
 
virtual ~SchedulerImp ()=default
 
virtual int num_cpu (void) const override
 
virtual int get_cpu (void) const override
 
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > proc_cpuset (void) const override
 
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > proc_cpuset (int pid) const override
 
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > woomp (int pid) const override
 
- Public Member Functions inherited from geopm::Scheduler
 Scheduler ()=default
 
virtual ~Scheduler ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from geopm::Scheduler
static std::unique_ptr< Schedulermake_unique (void)
 

Constructor & Destructor Documentation

◆ SchedulerImp()

geopm::SchedulerImp::SchedulerImp ( )

◆ ~SchedulerImp()

virtual geopm::SchedulerImp::~SchedulerImp ( )
virtualdefault

Member Function Documentation

◆ get_cpu()

int geopm::SchedulerImp::get_cpu ( void  ) const
overridevirtual

Implements geopm::Scheduler.

◆ num_cpu()

int geopm::SchedulerImp::num_cpu ( void  ) const
overridevirtual

Implements geopm::Scheduler.

◆ proc_cpuset() [1/2]

std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > geopm::SchedulerImp::proc_cpuset ( int  pid) const
overridevirtual

Implements geopm::Scheduler.

◆ proc_cpuset() [2/2]

std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > geopm::SchedulerImp::proc_cpuset ( void  ) const
overridevirtual

Implements geopm::Scheduler.

◆ woomp()

std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > geopm::SchedulerImp::woomp ( int  pid) const
overridevirtual

Implements geopm::Scheduler.


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