Searched refs:hr_avg (Results 1 – 2 of 2) sorted by relevance
1060 hrtime_t hr_avg; in genloadavg() local1070 for (i = hr_avg = 0; i < slen; i++) { in genloadavg()1072 hr_avg += avgs->lg_loads[cpos]; in genloadavg()1075 hr_avg = hr_avg / slen; in genloadavg()1076 avg = hr_avg / (NANOSEC / LGRP_LOADAVG_IN_THREAD_MAX); in genloadavg()
3237 hrtime_t hr_avg; in zone_loadavg_update() local3284 hr_avg = 0; in zone_loadavg_update()3286 hr_avg += lavg->lg_loads[i]; in zone_loadavg_update()3287 hr_avg = hr_avg / S_LOADAVG_SZ; in zone_loadavg_update()3288 nrun = hr_avg / (NANOSEC / LGRP_LOADAVG_IN_THREAD_MAX); in zone_loadavg_update()