diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-01-14 06:39:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-15 06:00:08 -0500 |
commit | 831451ac4e44d3a20b581ce726ef1d1144373f7d (patch) | |
tree | 0ef28221132dc7cd30a2660bb4193fb86f3bb021 /kernel/sched_debug.c | |
parent | a6525042bfdfcab128bd91fad264de10fd24a55e (diff) |
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 16eeba4e4169..2b1260f0e800 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) | |||
397 | PN(se.vruntime); | 397 | PN(se.vruntime); |
398 | PN(se.sum_exec_runtime); | 398 | PN(se.sum_exec_runtime); |
399 | PN(se.avg_overlap); | 399 | PN(se.avg_overlap); |
400 | PN(se.avg_wakeup); | ||
400 | 401 | ||
401 | nr_switches = p->nvcsw + p->nivcsw; | 402 | nr_switches = p->nvcsw + p->nivcsw; |
402 | 403 | ||