diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-09 17:11:56 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-09 17:11:56 -0400 |
commit | 1fde4dd4de048d7fbfe3e1418f4a76c62423ad95 (patch) | |
tree | f77ee7cb43fb069f47a2cdd2281031fbc752fe64 /litmus/sched_color.c | |
parent | a80dba56e2bc970b300b32ca3a8f4e911c18bbad (diff) |
Track tasks average execution time, drop in TASK_EXIT record
Diffstat (limited to 'litmus/sched_color.c')
-rw-r--r-- | litmus/sched_color.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/sched_color.c b/litmus/sched_color.c index 6c278f5d26cf..29b2be97da52 100644 --- a/litmus/sched_color.c +++ b/litmus/sched_color.c | |||
@@ -534,6 +534,7 @@ static void color_task_new(struct task_struct *t, int on_rq, int running) | |||
534 | tsk_rt(t)->req = req; | 534 | tsk_rt(t)->req = req; |
535 | 535 | ||
536 | tsk_rt(t)->max_exec_time = 0; | 536 | tsk_rt(t)->max_exec_time = 0; |
537 | tsk_rt(t)->tot_exec_time = 0; | ||
537 | 538 | ||
538 | /* Fill request */ | 539 | /* Fill request */ |
539 | if (tsk_rt(t)->color_ctrl_page) { | 540 | if (tsk_rt(t)->color_ctrl_page) { |