Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/sched/
Dpsi.c285 static void calc_avgs(unsigned long avg[3], int missed_periods, in calc_avgs() argument
291 if (missed_periods) { in calc_avgs()
292 avg[0] = calc_load_n(avg[0], EXP_10s, 0, missed_periods); in calc_avgs()
293 avg[1] = calc_load_n(avg[1], EXP_60s, 0, missed_periods); in calc_avgs()
294 avg[2] = calc_load_n(avg[2], EXP_300s, 0, missed_periods); in calc_avgs()
362 unsigned long missed_periods = 0; in update_averages() local
370 missed_periods = div_u64(now - expires, psi_period); in update_averages()
379 avg_next_update = expires + ((1 + missed_periods) * psi_period); in update_averages()
380 period = now - (group->avg_last_update + (missed_periods * psi_period)); in update_averages()
407 calc_avgs(group->avg[s], missed_periods, sample, period); in update_averages()