diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2005-06-25 17:57:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:42 -0400 |
commit | 68767a0ae428801649d510d9a65bb71feed44dd1 (patch) | |
tree | 678e2daa5726acf46ffd00a337d931e08ab928f9 /include | |
parent | 147cbb4bbe991452698f0772d8292f22825710ba (diff) |
[PATCH] sched: schedstats update for balance on fork
Add SCHEDSTAT statistics for sched-balance-fork.
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 613491d3a875..36a10781c3f3 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -517,10 +517,16 @@ struct sched_domain { | |||
517 | unsigned long alb_failed; | 517 | unsigned long alb_failed; |
518 | unsigned long alb_pushed; | 518 | unsigned long alb_pushed; |
519 | 519 | ||
520 | /* sched_balance_exec() stats */ | 520 | /* SD_BALANCE_EXEC stats */ |
521 | unsigned long sbe_attempts; | 521 | unsigned long sbe_cnt; |
522 | unsigned long sbe_balanced; | ||
522 | unsigned long sbe_pushed; | 523 | unsigned long sbe_pushed; |
523 | 524 | ||
525 | /* SD_BALANCE_FORK stats */ | ||
526 | unsigned long sbf_cnt; | ||
527 | unsigned long sbf_balanced; | ||
528 | unsigned long sbf_pushed; | ||
529 | |||
524 | /* try_to_wake_up() stats */ | 530 | /* try_to_wake_up() stats */ |
525 | unsigned long ttwu_wake_remote; | 531 | unsigned long ttwu_wake_remote; |
526 | unsigned long ttwu_move_affine; | 532 | unsigned long ttwu_move_affine; |