Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/
H A Dloadavg.h41 #define S_LOADAVG_SZ 11 macro
48 hrtime_t lg_loads[S_LOADAVG_SZ]; /* table of recorded entries */
/titanic_41/usr/src/uts/common/os/
H A Dclock.c1065 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 …]
H A Dzone.c3110 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()
/titanic_41/usr/src/uts/common/disp/
H A Dcpupart.c281 for (i = 0; i < S_LOADAVG_SZ; i++) { in cpupart_initialize_default()