6#ifndef SCHEDULER_HPP_INCLUDE
7#define SCHEDULER_HPP_INCLUDE
20 static std::unique_ptr<Scheduler>
make_unique(
void);
23 virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> >
25 virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> >
27 virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> >
36 virtual int num_cpu(
void)
const override;
37 virtual int get_cpu(
void)
const override;
38 virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> >
40 virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> >
42 virtual std::unique_ptr<cpu_set_t, std::function<void(cpu_set_t *)> >
43 woomp(
int pid)
const override;
Definition Scheduler.hpp:16
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 *)> > proc_cpuset(void) const =0
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > woomp(int pid) const =0
virtual int get_cpu(void) const =0
virtual int num_cpu(void) const =0
virtual ~Scheduler()=default
static std::unique_ptr< Scheduler > make_unique(void)
Definition Scheduler.cpp:14
Definition Scheduler.hpp:32
virtual int num_cpu(void) const override
Definition Scheduler.cpp:25
virtual ~SchedulerImp()=default
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > proc_cpuset(void) const override
Definition Scheduler.cpp:36
virtual int get_cpu(void) const override
Definition Scheduler.cpp:30
virtual std::unique_ptr< cpu_set_t, std::function< void(cpu_set_t *)> > woomp(int pid) const override
Definition Scheduler.cpp:60
SchedulerImp()
Definition Scheduler.cpp:19
Definition Accumulator.cpp:12