Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/sched/
Dpsi.c316 static void calc_avgs(unsigned long avg[3], int missed_periods, in calc_avgs() argument
322 if (missed_periods) { in calc_avgs()
323 avg[0] = calc_load_n(avg[0], EXP_10s, 0, missed_periods); in calc_avgs()
324 avg[1] = calc_load_n(avg[1], EXP_60s, 0, missed_periods); in calc_avgs()
325 avg[2] = calc_load_n(avg[2], EXP_300s, 0, missed_periods); in calc_avgs()
512 unsigned long missed_periods = 0; in update_averages() local
520 missed_periods = div_u64(now - expires, psi_period); in update_averages()
529 avg_next_update = expires + ((1 + missed_periods) * psi_period); in update_averages()
530 period = now - (group->avg_last_update + (missed_periods * psi_period)); in update_averages()
557 calc_avgs(group->avg[s], missed_periods, sample, period); in update_averages()