aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:18 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:18 -0400
commitcc367732ff0b1c63d0d7bdd11e6d1661794ef6a3 (patch)
tree27c65e05bf19644224937624ca356c876e6d1318 /include/linux/sched.h
parent2d92f22784b7b8879ebe3254e44c92cb8792b0dd (diff)
sched: debug, improve migration statistics
add new migration statistics when SCHED_DEBUG and SCHEDSTATS is enabled. Available in /proc/<PID>/sched. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index fcc9a5ada1a..3a6e05e7771 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -931,6 +931,24 @@ struct sched_entity {
931 u64 block_max; 931 u64 block_max;
932 u64 exec_max; 932 u64 exec_max;
933 u64 slice_max; 933 u64 slice_max;
934
935 u64 nr_migrations;
936 u64 nr_migrations_cold;
937 u64 nr_failed_migrations_affine;
938 u64 nr_failed_migrations_running;
939 u64 nr_failed_migrations_hot;
940 u64 nr_forced_migrations;
941 u64 nr_forced2_migrations;
942
943 u64 nr_wakeups;
944 u64 nr_wakeups_sync;
945 u64 nr_wakeups_migrate;
946 u64 nr_wakeups_local;
947 u64 nr_wakeups_remote;
948 u64 nr_wakeups_affine;
949 u64 nr_wakeups_affine_attempts;
950 u64 nr_wakeups_passive;
951 u64 nr_wakeups_idle;
934#endif 952#endif
935 953
936#ifdef CONFIG_FAIR_GROUP_SCHED 954#ifdef CONFIG_FAIR_GROUP_SCHED