diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-01-14 12:39:18 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-15 12:00:08 +0100 |
commit | 831451ac4e44d3a20b581ce726ef1d1144373f7d (patch) | |
tree | 0ef28221132dc7cd30a2660bb4193fb86f3bb021 /kernel/sched_debug.c | |
parent | a6525042bfdfcab128bd91fad264de10fd24a55e (diff) | |
download | kernel_samsung_tuna-831451ac4e44d3a20b581ce726ef1d1144373f7d.zip kernel_samsung_tuna-831451ac4e44d3a20b581ce726ef1d1144373f7d.tar.gz kernel_samsung_tuna-831451ac4e44d3a20b581ce726ef1d1144373f7d.tar.bz2 |
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>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r-- | kernel/sched_debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 16eeba4e..2b1260f 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c @@ -397,6 +397,7 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) PN(se.vruntime); PN(se.sum_exec_runtime); PN(se.avg_overlap); + PN(se.avg_wakeup); nr_switches = p->nvcsw + p->nivcsw; |