aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:12 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:12 -0400
commit2d72376b3af1e7d4d4515ebfd0f4383f2e92c343 (patch)
treea9f36173883f1309640f3a1e58b03a53422262d8 /include/linux/sched.h
parent2b1e315dd2822c99793485f9e53a73459fb399c1 (diff)
sched: clean up schedstats, cnt -> count
rename all 'cnt' fields and variables to the less yucky 'count' name. yuckage noticed by Andrew Morton. no change in code, other than the /proc/sched_debug bkl_count string got a bit larger: text data bss dec hex filename 38236 3506 24 41766 a326 sched.o.before 38240 3506 24 41770 a32a sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 2c33227b0f82..d5daca4bcc6b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -614,7 +614,7 @@ struct reclaim_state;
614#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) 614#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
615struct sched_info { 615struct sched_info {
616 /* cumulative counters */ 616 /* cumulative counters */
617 unsigned long pcnt; /* # of times run on this cpu */ 617 unsigned long pcount; /* # of times run on this cpu */
618 unsigned long long cpu_time, /* time spent on the cpu */ 618 unsigned long long cpu_time, /* time spent on the cpu */
619 run_delay; /* time spent waiting on a runqueue */ 619 run_delay; /* time spent waiting on a runqueue */
620 620
@@ -623,7 +623,7 @@ struct sched_info {
623 last_queued; /* when we were last queued to run */ 623 last_queued; /* when we were last queued to run */
624#ifdef CONFIG_SCHEDSTATS 624#ifdef CONFIG_SCHEDSTATS
625 /* BKL stats */ 625 /* BKL stats */
626 unsigned long bkl_cnt; 626 unsigned long bkl_count;
627#endif 627#endif
628}; 628};
629#endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ 629#endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */
@@ -759,7 +759,7 @@ struct sched_domain {
759 759
760#ifdef CONFIG_SCHEDSTATS 760#ifdef CONFIG_SCHEDSTATS
761 /* load_balance() stats */ 761 /* load_balance() stats */
762 unsigned long lb_cnt[CPU_MAX_IDLE_TYPES]; 762 unsigned long lb_count[CPU_MAX_IDLE_TYPES];
763 unsigned long lb_failed[CPU_MAX_IDLE_TYPES]; 763 unsigned long lb_failed[CPU_MAX_IDLE_TYPES];
764 unsigned long lb_balanced[CPU_MAX_IDLE_TYPES]; 764 unsigned long lb_balanced[CPU_MAX_IDLE_TYPES];
765 unsigned long lb_imbalance[CPU_MAX_IDLE_TYPES]; 765 unsigned long lb_imbalance[CPU_MAX_IDLE_TYPES];
@@ -769,17 +769,17 @@ struct sched_domain {
769 unsigned long lb_nobusyq[CPU_MAX_IDLE_TYPES]; 769 unsigned long lb_nobusyq[CPU_MAX_IDLE_TYPES];
770 770
771 /* Active load balancing */ 771 /* Active load balancing */
772 unsigned long alb_cnt; 772 unsigned long alb_count;
773 unsigned long alb_failed; 773 unsigned long alb_failed;
774 unsigned long alb_pushed; 774 unsigned long alb_pushed;
775 775
776 /* SD_BALANCE_EXEC stats */ 776 /* SD_BALANCE_EXEC stats */
777 unsigned long sbe_cnt; 777 unsigned long sbe_count;
778 unsigned long sbe_balanced; 778 unsigned long sbe_balanced;
779 unsigned long sbe_pushed; 779 unsigned long sbe_pushed;
780 780
781 /* SD_BALANCE_FORK stats */ 781 /* SD_BALANCE_FORK stats */
782 unsigned long sbf_cnt; 782 unsigned long sbf_count;
783 unsigned long sbf_balanced; 783 unsigned long sbf_balanced;
784 unsigned long sbf_pushed; 784 unsigned long sbf_pushed;
785 785