diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-13 20:48:34 -0400 |
---|---|---|
committer | Bryan Ward <bcw@cs.unc.edu> | 2013-04-16 14:37:12 -0400 |
commit | 5103b9bce2e9f38e83aaff316fe345eace551c86 (patch) | |
tree | 9fef01bdc91356887be486c7c197dfc898ed3dab /litmus | |
parent | 6fd05d4b6c92bb3207fbd30423adf93d5b9b1bdc (diff) |
Store exec time in completion record
Diffstat (limited to 'litmus')
-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 d9cf46ec0550..94b36053acd6 100644 --- a/litmus/sched_task_trace.c +++ b/litmus/sched_task_trace.c | |||
@@ -189,7 +189,7 @@ feather_callback void do_sched_trace_task_completion(unsigned long id, | |||
189 | struct task_struct *t = (struct task_struct*) _task; | 189 | struct task_struct *t = (struct task_struct*) _task; |
190 | struct st_event_record* rec = get_record(ST_COMPLETION, t); | 190 | struct st_event_record* rec = get_record(ST_COMPLETION, t); |
191 | if (rec) { | 191 | if (rec) { |
192 | rec->data.completion.when = now(); | 192 | rec->data.completion.when = get_exec_time(t); |
193 | rec->data.completion.forced = forced; | 193 | rec->data.completion.forced = forced; |
194 | put_record(rec); | 194 | put_record(rec); |
195 | } | 195 | } |