aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:02 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:02 -0400
commiteba1ed4b7e52720e3099325874811c38a5ec1562 (patch)
tree4ce145dd10b6cc248a2bc3463822dff23f9dd3c5 /include/linux/sched.h
parenta4b29ba2f72673aaa60ba11ced74d579771dd578 (diff)
sched: debug: track maximum 'slice'
track the maximum amount of time a task has executed while the CPU load was at least 2x. (i.e. at least two nice-0 tasks were runnable) Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Mike Galbraith <efault@gmx.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 833f7dc2b8de..9761b165d563 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -921,6 +921,7 @@ struct sched_entity {
921 u64 block_start; 921 u64 block_start;
922 u64 block_max; 922 u64 block_max;
923 u64 exec_max; 923 u64 exec_max;
924 u64 slice_max;
924 925
925 unsigned long wait_runtime_overruns; 926 unsigned long wait_runtime_overruns;
926 unsigned long wait_runtime_underruns; 927 unsigned long wait_runtime_underruns;