aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2012-05-09 17:11:56 -0400
committerBryan Ward <bcw@cs.unc.edu>2013-04-16 14:37:12 -0400
commit6fd05d4b6c92bb3207fbd30423adf93d5b9b1bdc (patch)
tree415f822a477224fc36a6ba618f696be672ae5866 /include/litmus
parent080c188bbdb433e6cf7139dd6486f8578ad46029 (diff)
Track tasks average execution time, drop in TASK_EXIT record
Conflicts: include/litmus/rt_param.h litmus/jobs.c litmus/sched_color.c litmus/sched_task_trace.c
Diffstat (limited to 'include/litmus')
-rw-r--r--include/litmus/rt_param.h1
-rw-r--r--include/litmus/sched_trace.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index b3d4b37f81e3..6f52fbc81abd 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -272,6 +272,7 @@ struct rt_param {
272 struct control_page * ctrl_page; 272 struct control_page * ctrl_page;
273 273
274 lt_t max_exec_time; 274 lt_t max_exec_time;
275 lt_t tot_exec_time;
275}; 276};
276 277
277#endif 278#endif
diff --git a/include/litmus/sched_trace.h b/include/litmus/sched_trace.h
index c71a08ab552e..f910c63c067a 100644
--- a/include/litmus/sched_trace.h
+++ b/include/litmus/sched_trace.h
@@ -81,7 +81,7 @@ struct st_sys_release_data {
81}; 81};
82 82
83struct st_task_exit_data { 83struct st_task_exit_data {
84 u64 when; 84 u64 avg_exec_time;
85 u64 max_exec_time; 85 u64 max_exec_time;
86}; 86};
87 87