diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2007-07-09 20:52:00 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-09 20:52:00 +0400 |
commit | 172ba844a8851c3edd13c0a979cdf46bd5e3cc1a (patch) | |
tree | 5e1bfd820c8e68fc28450688f166f4136351e1e1 /include | |
parent | b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa (diff) | |
download | linux-172ba844a8851c3edd13c0a979cdf46bd5e3cc1a.tar.xz |
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.h | 10 |
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; #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) struct sched_info { /* cumulative counters */ - unsigned long cpu_time, /* time spent on the cpu */ - run_delay, /* time spent waiting on a runqueue */ - pcnt; /* # of timeslices run on this cpu */ + unsigned long pcnt; /* # of times run on this cpu */ + unsigned long long cpu_time, /* time spent on the cpu */ + run_delay; /* time spent waiting on a runqueue */ /* timestamps */ - unsigned long last_arrival, /* when we last ran on a cpu */ - last_queued; /* when we were last queued to run */ + unsigned long long last_arrival,/* when we last ran on a cpu */ + last_queued; /* when we were last queued to run */ }; #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ |