blob: 44493e5e98d3314def8bacdde7652c7a536081fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef BAKER_H
#define BAKER_H
class BakerGedf : public SchedulabilityTest
{
private:
unsigned int m;
private:
void beta(const Task &t_i, const Task &t_k, const fractional_t &lambda_k,
fractional_t &beta_i);
bool is_task_schedulable(unsigned int k, const TaskSet &ts);
public:
BakerGedf(unsigned int num_processors) : m(num_processors) {};
bool is_schedulable(const TaskSet &ts, bool check_preconditions = true);
};
#endif
|