From: Andre Noll Date: Wed, 16 Jun 2010 20:39:57 +0000 (+0200) Subject: sched: Add debug mode. X-Git-Tag: v0.4.3~9^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=e67116354084dcf587c03dccaeb18d8cee886c1b;hp=e67116354084dcf587c03dccaeb18d8cee886c1b;p=paraslash.git sched: Add debug mode. This adds the compile-time switch SCHED_DEBUG to activate debug mode for the scheduler. If activated, it measures the time spent in each post_select() function and prints warning messages if this time interval is too large. This patch has no effect if SCHED_DEBUG is not set. ---