Searched refs:ldavg (Results 1 – 12 of 12) sorted by relevance
117 load = ((averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT); in snake_saver()150 LOAD_HIGH(averunnable.ldavg[0]), LOAD_LOW(averunnable.ldavg[0]), in update_msg()151 LOAD_HIGH(averunnable.ldavg[1]), LOAD_LOW(averunnable.ldavg[1]), in update_msg()152 LOAD_HIGH(averunnable.ldavg[2]), LOAD_LOW(averunnable.ldavg[2])); in update_msg()
59 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t)); in getloadavg()61 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale; in getloadavg()
94 nelem = MIN(nelem, (int)(sizeof(loadinfo.ldavg) / sizeof(fixpt_t))); in kvm_getloadavg()96 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale; in kvm_getloadavg()
163 __fixpt_t ldavg[3]; member
128 la[0] = averunnable.ldavg[0]; in sysctl_vm_loadavg()129 la[1] = averunnable.ldavg[1]; in sysctl_vm_loadavg()130 la[2] = averunnable.ldavg[2]; in sysctl_vm_loadavg()
590 avg->ldavg[i] = (cexp[i] * (uint64_t)avg->ldavg[i] + in setrunnable()
307 load = ((int64_t)averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in tty_info()
463 fixpt_t loadfac = loadfactor(averunnable.ldavg[0]); in schedcpu() 584 loadfac = loadfactor(averunnable.ldavg[0]); in updatepri()
647 (double)tv->ldavg[0]/(double)tv->fscale, in S_loadavg()648 (double)tv->ldavg[1]/(double)tv->fscale, in S_loadavg()649 (double)tv->ldavg[2]/(double)tv->fscale); in S_loadavg()
291 (double)la.ldavg[0] / (double)la.fscale); in oid_get_value()
472 si->load_avg[i] = (double)sysload.ldavg[i] / sysload.fscale; in get_system_info()
151 sysinfo.loads[i] = averunnable.ldavg[i] * in linux_sysinfo()