aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-09-09 13:42:13 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2012-09-09 13:42:13 -0400
commit193a19c94a32f2e2a0e973f0a98cf4a098cefa15 (patch)
tree19c501d521fd7a265a54e7006aa331612aa3246e /litmus/litmus.c
parent00c173dc87b14b8422cea2aa129a2fc99689a05d (diff)
simple average tracking
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index d1f836c8af6e..91ec65894379 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -321,6 +321,7 @@ void init_gpu_affinity_state(struct task_struct* p)
321 //p->rt_param.gpu_fb_param_a = _frac(14008, 10000); 321 //p->rt_param.gpu_fb_param_a = _frac(14008, 10000);
322 //p->rt_param.gpu_fb_param_b = _frac(16024, 10000); 322 //p->rt_param.gpu_fb_param_b = _frac(16024, 10000);
323 323
324#if 0
324 // emperical; 325 // emperical;
325 p->rt_param.gpu_fb_param_a[0] = _frac(7550, 10000); 326 p->rt_param.gpu_fb_param_a[0] = _frac(7550, 10000);
326 p->rt_param.gpu_fb_param_b[0] = _frac(45800, 10000); 327 p->rt_param.gpu_fb_param_b[0] = _frac(45800, 10000);
@@ -333,7 +334,7 @@ void init_gpu_affinity_state(struct task_struct* p)
333 334
334 p->rt_param.gpu_fb_param_a[3] = _frac(7580, 10000); 335 p->rt_param.gpu_fb_param_a[3] = _frac(7580, 10000);
335 p->rt_param.gpu_fb_param_b[3] = _frac(34590, 10000); 336 p->rt_param.gpu_fb_param_b[3] = _frac(34590, 10000);
336 337#endif
337 p->rt_param.gpu_migration = MIG_NONE; 338 p->rt_param.gpu_migration = MIG_NONE;
338 p->rt_param.last_gpu = -1; 339 p->rt_param.last_gpu = -1;
339} 340}