diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:02 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:02 +0200 |
commit | eba1ed4b7e52720e3099325874811c38a5ec1562 (patch) | |
tree | 4ce145dd10b6cc248a2bc3463822dff23f9dd3c5 /include | |
parent | a4b29ba2f72673aaa60ba11ced74d579771dd578 (diff) | |
download | op-kernel-dev-eba1ed4b7e52720e3099325874811c38a5ec1562.zip op-kernel-dev-eba1ed4b7e52720e3099325874811c38a5ec1562.tar.gz |
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')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 833f7dc..9761b16 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -921,6 +921,7 @@ struct sched_entity { u64 block_start; u64 block_max; u64 exec_max; + u64 slice_max; unsigned long wait_runtime_overruns; unsigned long wait_runtime_underruns; |