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>
This commit is contained in:
Ingo Molnar
2007-10-15 17:00:02 +02:00
parent a4b29ba2f7
commit eba1ed4b7e
4 changed files with 15 additions and 0 deletions

View File

@@ -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;