diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-13 20:48:34 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-13 20:48:34 -0400 |
commit | c7a09a0c9c97bb12bec367b1c6180f870ee32de9 (patch) | |
tree | ac558fc2f8a4d48db1235a32c95525c96be3dc43 | |
parent | 4b1126d2e422253999f071adcc05299c0172b45a (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 cbfcecbfe93a..48124b756be7 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 | } |