Lines Matching full:delta

41  *    Furthermore, in order to avoid synchronizing all per-CPU delta folding
46 * again, being late doesn't loose the delta, just wrecks the sample.
81 long nr_active, delta = 0; in calc_load_fold_active() local
87 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
91 return delta; in calc_load_fold_active()
171 * The basic idea is to fold the nr_active delta into a global NO_HZ-delta upon
172 * entering NO_HZ state such that we can include this as an 'extra' CPU delta
180 * We avoid this by keeping two NO_HZ-delta counters and flipping them
199 * sample, for this CPU (effectively using the NO_HZ-delta for this CPU which
221 * next NO_HZ-delta. in calc_load_write_idx()
236 long delta; in calc_load_nohz_fold() local
238 delta = calc_load_fold_active(rq, 0); in calc_load_nohz_fold()
239 if (delta) { in calc_load_nohz_fold()
242 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_fold()
249 * We're going into NO_HZ mode, if there's any pending delta, fold it in calc_load_nohz_start()
250 * into the pending NO_HZ delta. in calc_load_nohz_start()
287 long delta = 0; in calc_load_nohz_read() local
290 delta = atomic_long_xchg(&calc_load_nohz[idx], 0); in calc_load_nohz_read()
292 return delta; in calc_load_nohz_read()
297 * calc_load_fold_active(), but since a NO_HZ CPU folds its delta into
299 * in the pending NO_HZ delta if our NO_HZ period crossed a load cycle boundary.
307 long delta, active, n; in calc_global_nohz() local
314 delta = jiffies - sample_window - 10; in calc_global_nohz()
315 n = 1 + (delta / LOAD_FREQ); in calc_global_nohz()
353 long active, delta; in calc_global_load() local
360 * Fold the 'old' NO_HZ-delta to include all NO_HZ CPUs. in calc_global_load()
362 delta = calc_load_nohz_read(); in calc_global_load()
363 if (delta) in calc_global_load()
364 atomic_long_add(delta, &calc_load_tasks); in calc_global_load()
388 long delta; in calc_global_load_tick() local
393 delta = calc_load_fold_active(this_rq, 0); in calc_global_load_tick()
394 if (delta) in calc_global_load_tick()
395 atomic_long_add(delta, &calc_load_tasks); in calc_global_load_tick()