diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-09-27 19:03:47 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-09-27 19:03:47 -0400 |
commit | 20dd1e4970f2a8f0170ed2194a050d45c1271485 (patch) | |
tree | b2d38720df2f53fb863191680002f0329876d6d7 /include/litmus/litmus.h | |
parent | 8f08598f8bc3f47a5c26241575e30df64f444641 (diff) |
Added exit and tardy hooks.
Diffstat (limited to 'include/litmus/litmus.h')
-rw-r--r-- | include/litmus/litmus.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index 807b7888695a..3e78b9c61580 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
@@ -57,10 +57,11 @@ void litmus_exit_task(struct task_struct *tsk); | |||
57 | #define get_rt_phase(t) (tsk_rt(t)->task_params.phase) | 57 | #define get_rt_phase(t) (tsk_rt(t)->task_params.phase) |
58 | #define get_partition(t) (tsk_rt(t)->task_params.cpu) | 58 | #define get_partition(t) (tsk_rt(t)->task_params.cpu) |
59 | #define get_priority(t) (tsk_rt(t)->task_params.priority) | 59 | #define get_priority(t) (tsk_rt(t)->task_params.priority) |
60 | #define get_class(t) (tsk_rt(t)->task_params.cls) | 60 | #define get_class(t) (tsk_rt(t)->task_params.cls) |
61 | 61 | ||
62 | /* job_param macros */ | 62 | /* job_param macros */ |
63 | #define get_exec_time(t) (tsk_rt(t)->job_params.exec_time) | 63 | #define get_job_no(t) (tsk_rt(t)->job_params.job_no) |
64 | #define get_exec_time(t) (tsk_rt(t)->job_params.exec_time) | ||
64 | #define get_deadline(t) (tsk_rt(t)->job_params.deadline) | 65 | #define get_deadline(t) (tsk_rt(t)->job_params.deadline) |
65 | #define get_release(t) (tsk_rt(t)->job_params.release) | 66 | #define get_release(t) (tsk_rt(t)->job_params.release) |
66 | #define get_lateness(t) (tsk_rt(t)->job_params.lateness) | 67 | #define get_lateness(t) (tsk_rt(t)->job_params.lateness) |