diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-06-23 06:32:22 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-06-23 06:32:22 -0400 |
| commit | e779944bc6ccaa86869fcbc693ee4e9369fb322e (patch) | |
| tree | c295e1fee4854803aee8e259d9186950f3cdd515 /include | |
| parent | ae73c266aaf6e14b1e303d8066d3036cf3d62c37 (diff) | |
LITMUS^RT core: keep track of time of last suspension
This information is needed to insert ST_COMPLETION records for
sporadic tasks.
Diffstat (limited to 'include')
| -rw-r--r-- | include/litmus/rt_param.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index 0070cbcbe21e..7663e0806531 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
| @@ -155,6 +155,12 @@ struct rt_job { | |||
| 155 | * Increase this sequence number when a job is released. | 155 | * Increase this sequence number when a job is released. |
| 156 | */ | 156 | */ |
| 157 | unsigned int job_no; | 157 | unsigned int job_no; |
| 158 | |||
| 159 | #ifdef CONFIG_SCHED_TASK_TRACE | ||
| 160 | /* Keep track of the last time the job suspended. | ||
| 161 | * -> used for tracing sporadic tasks. */ | ||
| 162 | lt_t last_suspension; | ||
| 163 | #endif | ||
| 158 | }; | 164 | }; |
| 159 | 165 | ||
| 160 | struct pfair_param; | 166 | struct pfair_param; |
