Searched refs:loadavg (Results 1 - 14 of 14) sorted by relevance
/freebsd-11-stable/contrib/gcclibs/libgomp/config/posix/ |
H A D | proc.c | 39 # include <sys/loadavg.h> 65 unsigned n_onln, loadavg; local 75 loadavg = 0; 82 loadavg = dloadavg[2] + 0.1; 87 if (loadavg >= n_onln) 90 return n_onln - loadavg;
|
/freebsd-11-stable/contrib/gcclibs/libgomp/config/bsd/ |
H A D | proc.c | 39 # include <sys/loadavg.h> 83 unsigned n_onln, loadavg; local 90 loadavg = 0; 97 loadavg = dloadavg[2] + 0.1; 102 if (loadavg >= n_onln) 105 return n_onln - loadavg;
|
/freebsd-11-stable/contrib/gcclibs/libgomp/config/linux/ |
H A D | proc.c | 40 # include <sys/loadavg.h> 149 unsigned n_onln, loadavg; local 155 loadavg = 0; 162 loadavg = dloadavg[2] + 0.1; 167 if (loadavg >= n_onln) 170 return n_onln - loadavg;
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | getloadavg.c | 47 * Put `nelem' samples into `loadavg' array. 51 getloadavg(double loadavg[], int nelem) argument 53 struct loadavg loadinfo; 65 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale;
|
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm_getloadavg.c | 61 * Put `nelem' samples into `loadavg' array. 65 kvm_getloadavg(kvm_t *kd, double loadavg[], int nelem) argument 67 struct loadavg loadinfo; 72 return (getloadavg(loadavg, nelem)); 76 "cannot read loadavg from non-native core"); 103 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale;
|
/freebsd-11-stable/sys/sys/ |
H A D | resource.h | 161 struct loadavg { struct 177 extern struct loadavg averunnable;
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | getentropy_solaris.c | 55 #include <sys/loadavg.h> 260 double loadavg[3]; local 297 HX((getloadavg(loadavg, 3) == -1), loadavg);
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_synch.c | 78 struct loadavg averunnable = 513 struct loadavg *avg;
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_meter.c | 88 SYSCTL_PROC(_vm, VM_LOADAVG, loadavg, CTLTYPE_STRUCT | CTLFLAG_RD | 89 CTLFLAG_MPSAFE, NULL, 0, sysctl_vm_loadavg, "S,loadavg",
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cpuvar.h | 37 #include <sys/loadavg.h> 191 struct loadavg_s cpu_loadavg; /* loadavg info for this cpu */
|
/freebsd-11-stable/usr.bin/top/ |
H A D | machine.c | 88 #include "loadavg.h" 492 struct loadavg sysload; 504 GETSYSCTL("vm.loadavg", sysload);
|
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | conf.h | 440 # include <sys/loadavg.h>
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 6690 INTERCEPTOR(int, getloadavg, double *loadavg, int nelem) { 6692 COMMON_INTERCEPTOR_ENTER(ctx, getloadavg, loadavg, nelem); 6693 int res = REAL(getloadavg)(loadavg, nelem); 6695 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, loadavg, res * sizeof(*loadavg));
|
/freebsd-11-stable/contrib/gcclibs/libgomp/ |
H A D | configure | 13431 for ac_header in unistd.h semaphore.h sys/loadavg.h sys/sysctl.h sys/time.h
|
Completed in 177 milliseconds