Searched refs:avgs (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dclock.c1049 genloadavg(struct loadavg_s *avgs) argument
1059 if (avgs->lg_len == 0) {
1062 slen = avgs->lg_len < S_MOVAVG_SZ ? avgs->lg_len : S_MOVAVG_SZ;
1064 spos = (avgs->lg_cur - 1) >= 0 ? avgs->lg_cur - 1 :
1065 S_LOADAVG_SZ + (avgs->lg_cur - 1);
1068 hr_avg += avgs->lg_loads[cpos];

Completed in 74 milliseconds