Skip to content

Commit

Permalink
[POWERPC] spusched: Print out scheduling tunables with DEBUG
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeremy Kerr authored and Paul Mackerras committed Jul 3, 2007
1 parent 60e2423 commit f3f59be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand Down

0 comments on commit f3f59be

Please sign in to comment.