Lines Matching refs:delta
165 accumulate_sum(u64 delta, struct sched_avg *sa, in accumulate_sum() argument
168 u32 contrib = (u32)delta; /* p == 0 -> delta < 1024 */ in accumulate_sum()
171 delta += sa->period_contrib; in accumulate_sum()
172 periods = delta / 1024; /* A period is 1024us (~1ms) */ in accumulate_sum()
186 delta %= 1024; in accumulate_sum()
199 1024 - sa->period_contrib, delta); in accumulate_sum()
202 sa->period_contrib = delta; in accumulate_sum()
246 u64 delta; in ___update_load_sum() local
248 delta = now - sa->last_update_time; in ___update_load_sum()
253 if ((s64)delta < 0) { in ___update_load_sum()
262 delta >>= 10; in ___update_load_sum()
263 if (!delta) in ___update_load_sum()
266 sa->last_update_time += delta << 10; in ___update_load_sum()
289 if (!accumulate_sum(delta, sa, load, runnable, running)) in ___update_load_sum()