diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-07-16 20:20:52 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-07-16 20:20:52 -0400 |
commit | 1253e42eae22b6439ac9f3027d01740c95b8dcd6 (patch) | |
tree | 810946cbe2912b3876ddb3c403aa540749b7f0a2 /include/litmus/rt_param.h | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
New Feature: Arbitrary deadlines.
Added support for arbitrary deadlines.
Constraint: Relative deadline must be >= exec cost.
Use: Set relative deadline in rt_task::rdeadline. Set value to 0
to default to implicit deadlines.
Limitations: PFAIR not supported by this patch. PFAIR updated to
reject tasks that do not have implicit deadlines.
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index d6d799174160..0ddd8c134533 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -36,6 +36,7 @@ typedef enum { | |||
36 | struct rt_task { | 36 | struct rt_task { |
37 | lt_t exec_cost; | 37 | lt_t exec_cost; |
38 | lt_t period; | 38 | lt_t period; |
39 | lt_t rdeadline; | ||
39 | lt_t phase; | 40 | lt_t phase; |
40 | unsigned int cpu; | 41 | unsigned int cpu; |
41 | task_class_t cls; | 42 | task_class_t cls; |