diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:02 -0400 |
commit | eba1ed4b7e52720e3099325874811c38a5ec1562 (patch) | |
tree | 4ce145dd10b6cc248a2bc3463822dff23f9dd3c5 /kernel/sched.c | |
parent | a4b29ba2f72673aaa60ba11ced74d579771dd578 (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 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index e92b185e371b..282d037c7300 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1603,6 +1603,7 @@ static void __sched_fork(struct task_struct *p) | |||
1603 | p->se.sleep_max = 0; | 1603 | p->se.sleep_max = 0; |
1604 | p->se.block_max = 0; | 1604 | p->se.block_max = 0; |
1605 | p->se.exec_max = 0; | 1605 | p->se.exec_max = 0; |
1606 | p->se.slice_max = 0; | ||
1606 | p->se.wait_max = 0; | 1607 | p->se.wait_max = 0; |
1607 | p->se.wait_runtime_overruns = 0; | 1608 | p->se.wait_runtime_overruns = 0; |
1608 | p->se.wait_runtime_underruns = 0; | 1609 | p->se.wait_runtime_underruns = 0; |