]> git.baikalelectronics.ru Git - kernel.git/commit
sched: keep total / count stats in addition to the max for
authorArjan van de Ven <arjan@linux.intel.com>
Fri, 25 Jan 2008 20:08:35 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:35 +0000 (21:08 +0100)
commit9ee9b807acc99259d56797b295f0d0050214f8fc
treefacef621798752724be64c3ded31a3c3fded1643
parent4db18b09dcb4c6165549dec567f5b14c6591d108
sched: keep total / count stats in addition to the max for

Right now, the linux kernel (with scheduler statistics enabled) keeps track
of the maximum time a process is waiting to be scheduled. While the maximum
is a very useful metric, tracking average and total is equally useful
(at least for latencytop) to figure out the accumulated effect of scheduler
delays. The accumulated effect is important to judge the performance impact
of scheduler tuning/behavior.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched_debug.c
kernel/sched_fair.c