Home
last modified time | relevance | path

Searched refs:missed_periods (Results 1 – 1 of 1) sorted by relevance

/kernel/sched/
Dpsi.c286 static void calc_avgs(unsigned long avg[3], int missed_periods, in calc_avgs() argument
292 if (missed_periods) { in calc_avgs()
293 avg[0] = calc_load_n(avg[0], EXP_10s, 0, missed_periods); in calc_avgs()
294 avg[1] = calc_load_n(avg[1], EXP_60s, 0, missed_periods); in calc_avgs()
295 avg[2] = calc_load_n(avg[2], EXP_300s, 0, missed_periods); in calc_avgs()
363 unsigned long missed_periods = 0; in update_averages() local
371 missed_periods = div_u64(now - expires, psi_period); in update_averages()
380 avg_next_update = expires + ((1 + missed_periods) * psi_period); in update_averages()
381 period = now - (group->avg_last_update + (missed_periods * psi_period)); in update_averages()
408 calc_avgs(group->avg[s], missed_periods, sample, period); in update_averages()