diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-10-06 11:33:18 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-10-06 11:33:18 -0400 |
| commit | a810715b458ce4ed51fea9e017355d84e8990a6a (patch) | |
| tree | c8203dfaba2bb722b9c2a804d9f97e3c180bb106 /include | |
| parent | 51905871ddafdeb1f06236b8bef37f04c5acca8f (diff) | |
litmus: provide rt task phase access macro
rationale: uniformity
Diffstat (limited to 'include')
| -rw-r--r-- | include/litmus/litmus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index d3cd6e4437..b565b65712 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
| @@ -113,6 +113,7 @@ void litmus_exit_task(struct task_struct *tsk); | |||
| 113 | #define get_exec_cost(t) (tsk_rt(t)->task_params.exec_cost) | 113 | #define get_exec_cost(t) (tsk_rt(t)->task_params.exec_cost) |
| 114 | #define get_exec_time(t) (tsk_rt(t)->job_params.exec_time) | 114 | #define get_exec_time(t) (tsk_rt(t)->job_params.exec_time) |
| 115 | #define get_rt_period(t) (tsk_rt(t)->task_params.period) | 115 | #define get_rt_period(t) (tsk_rt(t)->task_params.period) |
| 116 | #define get_rt_phase(t) (tsk_rt(t)->task_params.phase) | ||
| 116 | #define get_partition(t) (tsk_rt(t)->task_params.cpu) | 117 | #define get_partition(t) (tsk_rt(t)->task_params.cpu) |
| 117 | #define get_deadline(t) (tsk_rt(t)->job_params.deadline) | 118 | #define get_deadline(t) (tsk_rt(t)->job_params.deadline) |
| 118 | #define get_class(t) (tsk_rt(t)->task_params.cls) | 119 | #define get_class(t) (tsk_rt(t)->task_params.cls) |
