aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/rt_param.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r--include/litmus/rt_param.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index 5b94d1a8eea7..a7a183f34a80 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -27,12 +27,19 @@ typedef enum {
27 RT_CLASS_BEST_EFFORT 27 RT_CLASS_BEST_EFFORT
28} task_class_t; 28} task_class_t;
29 29
30typedef enum {
31 NO_ENFORCEMENT, /* job may overrun unhindered */
32 QUANTUM_ENFORCEMENT, /* budgets are only checked on quantum boundaries */
33 PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */
34} budget_policy_t;
35
30struct rt_task { 36struct rt_task {
31 lt_t exec_cost; 37 lt_t exec_cost;
32 lt_t period; 38 lt_t period;
33 lt_t phase; 39 lt_t phase;
34 unsigned int cpu; 40 unsigned int cpu;
35 task_class_t cls; 41 task_class_t cls;
42 budget_policy_t budget_policy; /* ignored by pfair */
36}; 43};
37 44
38/* The definition of the data that is shared between the kernel and real-time 45/* The definition of the data that is shared between the kernel and real-time