aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2007-07-09 12:52:00 -0400
committerIngo Molnar <mingo@elte.hu>2007-07-09 12:52:00 -0400
commit172ba844a8851c3edd13c0a979cdf46bd5e3cc1a (patch)
tree5e1bfd820c8e68fc28450688f166f4136351e1e1 /include
parentb27f03d4bdc145a09fb7b0c0e004b29f1ee555fa (diff)
sched: update delay-accounting to use CFS's precise stats
update delay-accounting to use CFS's precise stats. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index fa895b309da0..e64dbd4cd829 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -562,13 +562,13 @@ struct reclaim_state;
562#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) 562#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
563struct sched_info { 563struct sched_info {
564 /* cumulative counters */ 564 /* cumulative counters */
565 unsigned long cpu_time, /* time spent on the cpu */ 565 unsigned long pcnt; /* # of times run on this cpu */
566 run_delay, /* time spent waiting on a runqueue */ 566 unsigned long long cpu_time, /* time spent on the cpu */
567 pcnt; /* # of timeslices run on this cpu */ 567 run_delay; /* time spent waiting on a runqueue */
568 568
569 /* timestamps */ 569 /* timestamps */
570 unsigned long last_arrival, /* when we last ran on a cpu */ 570 unsigned long long last_arrival,/* when we last ran on a cpu */
571 last_queued; /* when we were last queued to run */ 571 last_queued; /* when we were last queued to run */
572}; 572};
573#endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ 573#endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */
574 574