aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2012-05-13 20:48:34 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2012-09-27 15:43:57 -0400
commitc445c89aacd79d3083af45c02b8e7db32bfe9dfb (patch)
treefed51c68fcccd7a1606066072461183c26dbedf7
parent2821fbab349aa7a7846f3a9a226988c38969fa38 (diff)
Store exec time in completion record
-rw-r--r--litmus/sched_task_trace.c2
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 }