diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-08-31 11:10:33 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-08-31 11:10:33 -0400 |
commit | 00c173dc87b14b8422cea2aa129a2fc99689a05d (patch) | |
tree | b23cbc6bffe602d29c0565d8e83741f0546b3111 /litmus | |
parent | a463f9a9e04385f0729f7435a0a6dff7d89b25de (diff) |
enable migration tracing and short-cut interrupts
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/gpu_affinity.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/litmus/gpu_affinity.c b/litmus/gpu_affinity.c index 9762be1a085e..55bb5e1128ec 100644 --- a/litmus/gpu_affinity.c +++ b/litmus/gpu_affinity.c | |||
@@ -58,17 +58,17 @@ void update_gpu_estimate(struct task_struct *t, lt_t observed) | |||
58 | fb->accum_err = _div(fb->est, _integer_to_fp(2)); // ...seems to work. | 58 | fb->accum_err = _div(fb->est, _integer_to_fp(2)); // ...seems to work. |
59 | } | 59 | } |
60 | else { | 60 | else { |
61 | // struct migration_info mig_info; | 61 | struct migration_info mig_info; |
62 | 62 | ||
63 | sched_trace_prediction_err(t, | 63 | sched_trace_prediction_err(t, |
64 | &(tsk_rt(t)->gpu_migration), | 64 | &(tsk_rt(t)->gpu_migration), |
65 | &rel_err); | 65 | &rel_err); |
66 | 66 | ||
67 | // mig_info.observed = observed; | 67 | mig_info.observed = observed; |
68 | // mig_info.estimated = get_gpu_estimate(t, tsk_rt(t)->gpu_migration); | 68 | mig_info.estimated = get_gpu_estimate(t, tsk_rt(t)->gpu_migration); |
69 | // mig_info.distance = tsk_rt(t)->gpu_migration; | 69 | mig_info.distance = tsk_rt(t)->gpu_migration; |
70 | // | 70 | |
71 | // sched_trace_migration(t, &mig_info); | 71 | sched_trace_migration(t, &mig_info); |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||