• Home
  • Raw
  • Download

Lines Matching refs:stats

7 			       struct sched_statistics *stats)  in __update_stats_wait_start()  argument
12 prev_wait_start = schedstat_val(stats->wait_start); in __update_stats_wait_start()
17 __schedstat_set(stats->wait_start, wait_start); in __update_stats_wait_start()
21 struct sched_statistics *stats) in __update_stats_wait_end() argument
23 u64 delta = rq_clock(rq) - schedstat_val(stats->wait_start); in __update_stats_wait_end()
32 __schedstat_set(stats->wait_start, delta); in __update_stats_wait_end()
40 __schedstat_set(stats->wait_max, in __update_stats_wait_end()
41 max(schedstat_val(stats->wait_max), delta)); in __update_stats_wait_end()
42 __schedstat_inc(stats->wait_count); in __update_stats_wait_end()
43 __schedstat_add(stats->wait_sum, delta); in __update_stats_wait_end()
44 __schedstat_set(stats->wait_start, 0); in __update_stats_wait_end()
48 struct sched_statistics *stats) in __update_stats_enqueue_sleeper() argument
52 sleep_start = schedstat_val(stats->sleep_start); in __update_stats_enqueue_sleeper()
53 block_start = schedstat_val(stats->block_start); in __update_stats_enqueue_sleeper()
61 if (unlikely(delta > schedstat_val(stats->sleep_max))) in __update_stats_enqueue_sleeper()
62 __schedstat_set(stats->sleep_max, delta); in __update_stats_enqueue_sleeper()
64 __schedstat_set(stats->sleep_start, 0); in __update_stats_enqueue_sleeper()
65 __schedstat_add(stats->sum_sleep_runtime, delta); in __update_stats_enqueue_sleeper()
79 if (unlikely(delta > schedstat_val(stats->block_max))) in __update_stats_enqueue_sleeper()
80 __schedstat_set(stats->block_max, delta); in __update_stats_enqueue_sleeper()
82 __schedstat_set(stats->block_start, 0); in __update_stats_enqueue_sleeper()
83 __schedstat_add(stats->sum_sleep_runtime, delta); in __update_stats_enqueue_sleeper()
84 __schedstat_add(stats->sum_block_runtime, delta); in __update_stats_enqueue_sleeper()
88 __schedstat_add(stats->iowait_sum, delta); in __update_stats_enqueue_sleeper()
89 __schedstat_inc(stats->iowait_count); in __update_stats_enqueue_sleeper()