diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-13 20:48:34 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-09-27 15:43:57 -0400 |
commit | c445c89aacd79d3083af45c02b8e7db32bfe9dfb (patch) | |
tree | fed51c68fcccd7a1606066072461183c26dbedf7 | |
parent | 2821fbab349aa7a7846f3a9a226988c38969fa38 (diff) |
Store exec time in completion record
-rw-r--r-- | litmus/sched_task_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_task_trace.c b/litmus/sched_task_trace.c index 73ce4df517ef..c65c021ec809 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -186,7 +186,7 @@ feather_callback void do_sched_trace_task_completion(unsigned long id, | |||
186 | struct task_struct *t = (struct task_struct*) _task; | 186 | struct task_struct *t = (struct task_struct*) _task; |
187 | struct st_event_record* rec = get_record(ST_COMPLETION, t); | 187 | struct st_event_record* rec = get_record(ST_COMPLETION, t); |
188 | if (rec) { | 188 | if (rec) { |
189 | rec->data.completion.when = now(); | 189 | rec->data.completion.when = get_exec_time(t); |
190 | rec->data.completion.forced = forced; | 190 | rec->data.completion.forced = forced; |
191 | put_record(rec); | 191 | put_record(rec); |
192 | } | 192 | } |