]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] spusched: Print out scheduling tunables with DEBUG
authorJeremy Kerr <jk@ozlabs.org>
Fri, 29 Jun 2007 00:57:54 +0000 (10:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Jul 2007 05:24:45 +0000 (15:24 +1000)
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>
arch/powerpc/platforms/cell/spufs/sched.c

index 6843a01b1a2584152b774bd3077e716f313ba6d2..002b40af4a77e5f9faee58a733df291c0a298bef 100644 (file)
@@ -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;
 
 }