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

#include <Scheduler.hpp>

Inheritance diagram for geopm::Scheduler:
Inheritance graph
[legend]

Public Member Functions

 Scheduler ()=default
 
virtual ~Scheduler ()=default
 
virtual int num_cpu (void) const =0
 
virtual int get_cpu (void) const =0
 
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > proc_cpuset (void) const =0
 
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > proc_cpuset (int pid) const =0
 
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > woomp (int pid) const =0
 

Static Public Member Functions

static std::unique_ptr< Schedulermake_unique (void)
 

Constructor & Destructor Documentation

◆ Scheduler()

geopm::Scheduler::Scheduler ( )
default

◆ ~Scheduler()

virtual geopm::Scheduler::~Scheduler ( )
virtualdefault

Member Function Documentation

◆ get_cpu()

virtual int geopm::Scheduler::get_cpu ( void  ) const
pure virtual

Implemented in geopm::SchedulerImp.

◆ make_unique()

std::unique_ptr< Scheduler > geopm::Scheduler::make_unique ( void  )
static

◆ num_cpu()

virtual int geopm::Scheduler::num_cpu ( void  ) const
pure virtual

Implemented in geopm::SchedulerImp.

◆ proc_cpuset() [1/2]

virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> > geopm::Scheduler::proc_cpuset ( int  pid) const
pure virtual

Implemented in geopm::SchedulerImp.

◆ proc_cpuset() [2/2]

virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> > geopm::Scheduler::proc_cpuset ( void  ) const
pure virtual

Implemented in geopm::SchedulerImp.

◆ woomp()

virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> > geopm::Scheduler::woomp ( int  pid) const
pure virtual

Implemented in geopm::SchedulerImp.


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