diff options
author | Jeremy Erickson <jerickso@cs.unc.edu> | 2013-05-04 12:38:33 -0400 |
---|---|---|
committer | Jeremy Erickson <jerickso@cs.unc.edu> | 2013-05-04 12:38:33 -0400 |
commit | fa7932bf8c8881f2c8484d54db3ebac7b6832500 (patch) | |
tree | ded6fa80faaa72a12e92e3b1c278cd8175328479 /include/litmus.h | |
parent | f9436915a157da898b4015637b66a559dc71223b (diff) |
Properly assign cpuwip-edf-os
Diffstat (limited to 'include/litmus.h')
-rw-r--r-- | include/litmus.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/litmus.h b/include/litmus.h index 8f997a0..0139d25 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -30,6 +30,8 @@ int get_rt_task_param(pid_t pid, struct rt_task* param); | |||
30 | 30 | ||
31 | /* setup helper */ | 31 | /* setup helper */ |
32 | 32 | ||
33 | unsigned int compute_initial_cpu_edfos(lt_t fracs[][2]); | ||
34 | |||
33 | /* times are given in ms */ | 35 | /* times are given in ms */ |
34 | int sporadic_task( | 36 | int sporadic_task( |
35 | lt_t e, lt_t p, lt_t phase, | 37 | lt_t e, lt_t p, lt_t phase, |
@@ -47,7 +49,7 @@ int sporadic_task_ns_edffm(lt_t e, lt_t p, lt_t phase, int cpu, | |||
47 | task_class_t cls, budget_policy_t budget_policy, | 49 | task_class_t cls, budget_policy_t budget_policy, |
48 | int set_cpu_set); | 50 | int set_cpu_set); |
49 | 51 | ||
50 | int sporadic_task_ns_edfos(lt_t e, lt_t p, lt_t phase, | 52 | int sporadic_task_ns_edfos(lt_t e, lt_t p, lt_t phase, int cpu, |
51 | lt_t fracs[][2], task_class_t cls, | 53 | lt_t fracs[][2], task_class_t cls, |
52 | budget_policy_t budget_policy); | 54 | budget_policy_t budget_policy); |
53 | 55 | ||
@@ -107,7 +109,7 @@ int __create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, | |||
107 | int __create_rt_task_edffm(rt_fn_t rt_prog, void *arg, int cpu, int wcet, | 109 | int __create_rt_task_edffm(rt_fn_t rt_prog, void *arg, int cpu, int wcet, |
108 | int period, lt_t *frac1, lt_t *frac2, | 110 | int period, lt_t *frac1, lt_t *frac2, |
109 | int cpu1, int cpu2, task_class_t class); | 111 | int cpu1, int cpu2, task_class_t class); |
110 | int __create_rt_task_edfos(rt_fn_t rt_prog, void *arg, int wcet, | 112 | int __create_rt_task_edfos(rt_fn_t rt_prog, void *arg, int cpu, int wcet, |
111 | int period, lt_t fracs[][2], task_class_t class); | 113 | int period, lt_t fracs[][2], task_class_t class); |
112 | int __create_rt_task_npsf(rt_fn_t rt_prog, void *arg, int cpu, int wcet, | 114 | int __create_rt_task_npsf(rt_fn_t rt_prog, void *arg, int cpu, int wcet, |
113 | int period, int npsf_id, task_class_t class); | 115 | int period, int npsf_id, task_class_t class); |