aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2013-02-05 13:48:50 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2013-02-05 13:48:50 -0500
commitea8b0dcf5e02f0bee2ab9ed6c32b81075e4a6f36 (patch)
tree178599069bb6c7e7bd38a293bb0a34a1fc3851a1 /litmus
parenteeab5bc5e159f2da9a79f368f3d36012f06a9b01 (diff)
a lame commit
Diffstat (limited to 'litmus')
-rw-r--r--litmus/gpu_affinity.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/litmus/gpu_affinity.c b/litmus/gpu_affinity.c
index cf94d8449e3b..9e421ce9efc2 100644
--- a/litmus/gpu_affinity.c
+++ b/litmus/gpu_affinity.c
@@ -143,7 +143,6 @@ void update_gpu_estimate(struct task_struct *t, lt_t observed)
143 mig_info.distance = tsk_rt(t)->gpu_migration; 143 mig_info.distance = tsk_rt(t)->gpu_migration;
144 sched_trace_migration(t, &mig_info); 144 sched_trace_migration(t, &mig_info);
145 145
146
147 est->history[est->idx] = observed; 146 est->history[est->idx] = observed;
148 est->sum += observed; 147 est->sum += observed;
149 est->avg = est->sum/est->count; 148 est->avg = est->sum/est->count;