diff options
Diffstat (limited to 'include/litmus.h')
-rw-r--r-- | include/litmus.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/litmus.h b/include/litmus.h index 52435d8..c2ec40d 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -31,20 +31,22 @@ int get_rt_task_param(pid_t pid, struct rt_task* param); | |||
31 | /* times are given in ms */ | 31 | /* times are given in ms */ |
32 | int sporadic_task( | 32 | int sporadic_task( |
33 | lt_t e, lt_t p, lt_t phase, | 33 | lt_t e, lt_t p, lt_t phase, |
34 | int partition, task_class_t cls, | 34 | int partition, unsigned int priority, |
35 | task_class_t cls, | ||
35 | budget_policy_t budget_policy, int set_cpu_set); | 36 | budget_policy_t budget_policy, int set_cpu_set); |
36 | 37 | ||
37 | /* times are given in ns */ | 38 | /* times are given in ns */ |
38 | int sporadic_task_ns( | 39 | int sporadic_task_ns( |
39 | lt_t e, lt_t p, lt_t phase, | 40 | lt_t e, lt_t p, lt_t phase, |
40 | int cpu, task_class_t cls, | 41 | int cpu, unsigned int priority, |
42 | task_class_t cls, | ||
41 | budget_policy_t budget_policy, int set_cpu_set); | 43 | budget_policy_t budget_policy, int set_cpu_set); |
42 | 44 | ||
43 | /* budget enforcement off by default in these macros */ | 45 | /* budget enforcement off by default in these macros */ |
44 | #define sporadic_global(e, p) \ | 46 | #define sporadic_global(e, p) \ |
45 | sporadic_task(e, p, 0, 0, RT_CLASS_SOFT, NO_ENFORCEMENT, 0) | 47 | sporadic_task(e, p, 0, 0, 0, RT_CLASS_SOFT, NO_ENFORCEMENT, 0) |
46 | #define sporadic_partitioned(e, p, cpu) \ | 48 | #define sporadic_partitioned(e, p, cpu) \ |
47 | sporadic_task(e, p, 0, cpu, RT_CLASS_SOFT, NO_ENFORCEMENT, 1) | 49 | sporadic_task(e, p, 0, cpu, 0, RT_CLASS_SOFT, NO_ENFORCEMENT, 1) |
48 | 50 | ||
49 | /* file descriptor attached shared objects support */ | 51 | /* file descriptor attached shared objects support */ |
50 | typedef enum { | 52 | typedef enum { |