diff options
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index 53741727d5d0..d1a1f6ab523a 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -33,6 +33,14 @@ typedef enum { | |||
33 | PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */ | 33 | PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */ |
34 | } budget_policy_t; | 34 | } budget_policy_t; |
35 | 35 | ||
36 | #ifdef CONFIG_PLUGIN_AEDZL | ||
37 | typedef long fpbuf_t; | ||
38 | typedef struct | ||
39 | { | ||
40 | fpbuf_t val; | ||
41 | } fp_t; | ||
42 | #endif | ||
43 | |||
36 | struct rt_task { | 44 | struct rt_task { |
37 | lt_t exec_cost; | 45 | lt_t exec_cost; |
38 | lt_t period; | 46 | lt_t period; |
@@ -40,6 +48,11 @@ struct rt_task { | |||
40 | unsigned int cpu; | 48 | unsigned int cpu; |
41 | task_class_t cls; | 49 | task_class_t cls; |
42 | budget_policy_t budget_policy; /* ignored by pfair */ | 50 | budget_policy_t budget_policy; /* ignored by pfair */ |
51 | |||
52 | #ifdef CONFIG_PLUGIN_AEDZL | ||
53 | fp_t util_est; | ||
54 | fp_t accum_err; | ||
55 | #endif | ||
43 | }; | 56 | }; |
44 | 57 | ||
45 | /* The definition of the data that is shared between the kernel and real-time | 58 | /* The definition of the data that is shared between the kernel and real-time |