mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04: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 <[email protected]>
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…
Reference in a new issue