Home
last modified time | relevance | path

Searched refs:ldavg (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/syscons/snake/
H A Dsnake_saver.c117 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()
/freebsd/lib/libc/gen/
H A Dgetloadavg.c59 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t)); in getloadavg()
61 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale; in getloadavg()
/freebsd/lib/libkvm/
H A Dkvm_getloadavg.c94 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()
/freebsd/sys/sys/
H A Dresource.h163 __fixpt_t ldavg[3]; member
/freebsd/sys/vm/
H A Dvm_meter.c128 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()
/freebsd/sys/kern/
H A Dkern_synch.c590 avg->ldavg[i] = (cexp[i] * (uint64_t)avg->ldavg[i] + in setrunnable()
H A Dtty_info.c307 load = ((int64_t)averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in tty_info()
H A Dsched_4bsd.c463 fixpt_t loadfac = loadfactor(averunnable.ldavg[0]); in schedcpu()
584 loadfac = loadfactor(averunnable.ldavg[0]); in updatepri()
/freebsd/sbin/sysctl/
H A Dsysctl.c647 (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()
/freebsd/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c291 (double)la.ldavg[0] / (double)la.fscale); in oid_get_value()
/freebsd/usr.bin/top/
H A Dmachine.c472 si->load_avg[i] = (double)sysload.ldavg[i] / sysload.fscale; in get_system_info()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c151 sysinfo.loads[i] = averunnable.ldavg[i] * in linux_sysinfo()