Lines Matching refs:delta
23 u64 delta = rq_clock(rq) - schedstat_val(stats->wait_start); in __update_stats_wait_end() local
32 __schedstat_set(stats->wait_start, delta); in __update_stats_wait_end()
37 trace_sched_stat_wait(p, delta); in __update_stats_wait_end()
41 max(schedstat_val(stats->wait_max), delta)); in __update_stats_wait_end()
43 __schedstat_add(stats->wait_sum, delta); in __update_stats_wait_end()
56 u64 delta = rq_clock(rq) - sleep_start; in __update_stats_enqueue_sleeper() local
58 if ((s64)delta < 0) in __update_stats_enqueue_sleeper()
59 delta = 0; 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()
65 __schedstat_add(stats->sum_sleep_runtime, delta); in __update_stats_enqueue_sleeper()
68 account_scheduler_latency(p, delta >> 10, 1); in __update_stats_enqueue_sleeper()
69 trace_sched_stat_sleep(p, delta); in __update_stats_enqueue_sleeper()
74 u64 delta = rq_clock(rq) - block_start; in __update_stats_enqueue_sleeper() local
76 if ((s64)delta < 0) in __update_stats_enqueue_sleeper()
77 delta = 0; 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()
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()
90 trace_sched_stat_iowait(p, delta); in __update_stats_enqueue_sleeper()
93 trace_sched_stat_blocked(p, delta); in __update_stats_enqueue_sleeper()
103 delta >> 20); in __update_stats_enqueue_sleeper()
105 account_scheduler_latency(p, delta >> 10, 0); in __update_stats_enqueue_sleeper()