diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-07-16 20:20:52 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-08-01 02:40:25 -0400 |
commit | b53c479a0f44b8990ce106622412a3bf54809944 (patch) | |
tree | 07934618bf23661191b514a66bf8cd49d6369ece /include/litmus/rt_param.h | |
parent | a6d64b9717782170ba27c16b6df8191169d92fad (diff) |
New Feature: Arbitrary deadlines.2012.2
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 c4669a276e6f..89ac0dda7d3d 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -56,6 +56,7 @@ typedef enum { | |||
56 | struct rt_task { | 56 | struct rt_task { |
57 | lt_t exec_cost; | 57 | lt_t exec_cost; |
58 | lt_t period; | 58 | lt_t period; |
59 | lt_t relative_deadline; | ||
59 | lt_t phase; | 60 | lt_t phase; |
60 | unsigned int cpu; | 61 | unsigned int cpu; |
61 | unsigned int priority; | 62 | unsigned int priority; |