diff options
Diffstat (limited to 'include/litmus.h')
-rw-r--r-- | include/litmus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 7382936..fd40e87 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -9,6 +9,7 @@ extern "C" { | |||
9 | * This is required for the rt_param | 9 | * This is required for the rt_param |
10 | * and control_page structures. | 10 | * and control_page structures. |
11 | */ | 11 | */ |
12 | #include <linux/threads.h> | ||
12 | #include <litmus/rt_param.h> | 13 | #include <litmus/rt_param.h> |
13 | 14 | ||
14 | #include <sys/types.h> | 15 | #include <sys/types.h> |
@@ -50,6 +51,9 @@ int sporadic_task_ns_npsf( | |||
50 | int cpu, task_class_t cls, int npsf_id, | 51 | int cpu, task_class_t cls, int npsf_id, |
51 | budget_policy_t budget_policy, int set_cpu_set); | 52 | budget_policy_t budget_policy, int set_cpu_set); |
52 | 53 | ||
54 | /* times are in ns, specific helper for semi-partitioned algos */ | ||
55 | int sporadic_task_ns_semi(struct rt_task *rt); | ||
56 | |||
53 | /* budget enforcement off by default in these macros */ | 57 | /* budget enforcement off by default in these macros */ |
54 | #define sporadic_global(e, p) \ | 58 | #define sporadic_global(e, p) \ |
55 | sporadic_task(e, p, 0, 0, RT_CLASS_SOFT, NO_ENFORCEMENT, 0) | 59 | sporadic_task(e, p, 0, 0, RT_CLASS_SOFT, NO_ENFORCEMENT, 0) |