diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2012-05-06 21:37:20 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-09-27 15:27:12 -0400 |
commit | f299a6944bfdfe70ddc8b9993f1ec3eb5d18d796 (patch) | |
tree | 3762fd0e98ddaa23e5939e6fd1e45ba3fab7e2cc /litmus | |
parent | 45d0f315ec64bdac3ba0723be07e83b7df7652f8 (diff) |
Add the time to the task_exit event
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/sched_task_trace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index d2ece6b764b0..4ada33c6979b 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -234,6 +234,7 @@ feather_callback void do_sched_trace_task_exit(unsigned long id, | |||
234 | 234 | ||
235 | struct st_event_record *rec = get_record(ST_TASK_EXIT, t); | 235 | struct st_event_record *rec = get_record(ST_TASK_EXIT, t); |
236 | if (rec) { | 236 | if (rec) { |
237 | rec->data.task_exit.when = now(); | ||
237 | rec->data.task_exit.max_exec_time = max_exec_time; | 238 | rec->data.task_exit.max_exec_time = max_exec_time; |
238 | put_record(rec); | 239 | put_record(rec); |
239 | } | 240 | } |