Browse Source

[POWERPC] spusched: Print out scheduling tunables with DEBUG

Print out a few scheduler tuning parameters when we've compiled
with DEBUG defined.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Jeremy Kerr 18 years ago
parent
commit
f3f59bec0c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/powerpc/platforms/cell/spufs/sched.c

+ 3 - 0
arch/powerpc/platforms/cell/spufs/sched.c

@@ -546,6 +546,9 @@ int __init spu_sched_init(void)
 		kfree(spu_prio);
 		return PTR_ERR(spusched_task);
 	}
+
+	pr_debug("spusched: tick: %d, min ticks: %d, default ticks: %d\n",
+			SPUSCHED_TICK, MIN_SPU_TIMESLICE, DEF_SPU_TIMESLICE);
 	return 0;
 
 }