Searched refs:S_LOADAVG_SZ (Results 1 – 4 of 4) sorted by relevance
41 #define S_LOADAVG_SZ 11 macro48 hrtime_t lg_loads[S_LOADAVG_SZ]; /* table of recorded entries */
1065 S_LOADAVG_SZ + (avgs->lg_cur - 1); in genloadavg()1067 cpos = (spos - i) >= 0 ? spos - i : S_LOADAVG_SZ + (spos - i); in genloadavg()1112 S_LOADAVG_SZ + (lavg->lg_cur - 1); in loadavg_update()1123 lavg->lg_cur = (lavg->lg_cur + 1) % S_LOADAVG_SZ; in loadavg_update()1124 lavg->lg_len = (lavg->lg_len + 1) < S_LOADAVG_SZ ? in loadavg_update()1125 lavg->lg_len + 1 : S_LOADAVG_SZ; in loadavg_update()1133 loadavg.lg_cur = (loadavg.lg_cur + 1) % S_LOADAVG_SZ; in loadavg_update()1134 loadavg.lg_len = (loadavg.lg_len + 1) < S_LOADAVG_SZ ? in loadavg_update()1135 loadavg.lg_len + 1 : S_LOADAVG_SZ; in loadavg_update()1147 lavg->lg_cur = (lavg->lg_cur + 1) % S_LOADAVG_SZ; in loadavg_update()[all …]
3110 lavg->lg_cur = (lavg->lg_cur + 1) % S_LOADAVG_SZ; in zone_loadavg_update()3119 if ((lavg->lg_len + 1) < S_LOADAVG_SZ) { in zone_loadavg_update()3127 for (i = 0; i < S_LOADAVG_SZ; i++) in zone_loadavg_update()3129 hr_avg = hr_avg / S_LOADAVG_SZ; in zone_loadavg_update()
281 for (i = 0; i < S_LOADAVG_SZ; i++) { in cpupart_initialize_default()