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 /include/linux/sched.h | |
parent | a6525042bfdfcab128bd91fad264de10fd24a55e (diff) | |
download | blackbird-op-linux-831451ac4e44d3a20b581ce726ef1d1144373f7d.tar.gz blackbird-op-linux-831451ac4e44d3a20b581ce726ef1d1144373f7d.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 4cae9b81a1f8..daf4e07bc978 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; |