mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
b27f03d4bd
commit
172ba844a8
6 changed files with 15 additions and 15 deletions
|
@ -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) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue