summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-01-14 12:39:18 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-15 12:00:08 +0100
commit831451ac4e44d3a20b581ce726ef1d1144373f7d (patch)
tree0ef28221132dc7cd30a2660bb4193fb86f3bb021 /include/linux/sched.h
parenta6525042bfdfcab128bd91fad264de10fd24a55e (diff)
downloadop-kernel-dev-831451ac4e44d3a20b581ce726ef1d1144373f7d.zip
op-kernel-dev-831451ac4e44d3a20b581ce726ef1d1144373f7d.tar.gz
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 4cae9b8..daf4e07 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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;
OpenPOWER on IntegriCloud