aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-01-14 06:39:18 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-15 06:00:08 -0500
commit831451ac4e44d3a20b581ce726ef1d1144373f7d (patch)
tree0ef28221132dc7cd30a2660bb4193fb86f3bb021 /include/linux/sched.h
parenta6525042bfdfcab128bd91fad264de10fd24a55e (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 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4cae9b81a1f..daf4e07bc97 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1046,6 +1046,9 @@ struct sched_entity {
1046 u64 exec_max; 1046 u64 exec_max;
1047 u64 slice_max; 1047 u64 slice_max;
1048 1048
1049 u64 start_runtime;
1050 u64 avg_wakeup;
1051
1049 u64 nr_migrations; 1052 u64 nr_migrations;
1050 u64 nr_migrations_cold; 1053 u64 nr_migrations_cold;
1051 u64 nr_failed_migrations_affine; 1054 u64 nr_failed_migrations_affine;