sched: introduce avg_wakeup

Introduce a new avg_wakeup statistic.

avg_wakeup is a measure of how frequently a task wakes up other tasks, it
represents the average time between wakeups, with a limit of avg_runtime
for when it doesn't wake up anybody.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Peter Zijlstra
2009-01-14 12:39:18 +01:00
committed by Ingo Molnar
parent a6525042bf
commit 831451ac4e
3 changed files with 34 additions and 6 deletions

View File

@@ -1046,6 +1046,9 @@ struct sched_entity {
u64 exec_max;
u64 slice_max;
u64 start_runtime;
u64 avg_wakeup;
u64 nr_migrations;
u64 nr_migrations_cold;
u64 nr_failed_migrations_affine;