aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-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