Home
last modified time | relevance | path

Searched refs:fscale (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/lib/libkvm/
H A Dkvm_getloadavg.c62 int fscale, i; in kvm_getloadavg() local
91 !KREAD(kd, nl[X_FSCALE].n_value, &fscale)) in kvm_getloadavg()
92 loadinfo.fscale = fscale; in kvm_getloadavg()
96 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale; in kvm_getloadavg()
/freebsd/usr.bin/systat/
H A Dpigs.c59 static int fscale; variable
122 len = sizeof(fscale); in initpigs()
123 err = sysctlbyname("kern.fscale", &fscale, &len, NULL, 0); in initpigs()
124 if (err || len != sizeof(fscale)) { in initpigs()
129 lccpu = log((double) ccpu / fscale); in initpigs()
166 fscale) / (1.0 - exp(ftime * lccpu)); in fetchpigs()
/freebsd/bin/ps/
H A Dnlist.c42 int fscale; /* kernel _fscale variable */ variable
52 oldlen = sizeof(fscale); in donlist()
53 if (sysctlbyname("kern.fscale", &fscale, &oldlen, NULL, 0) == -1) in donlist()
H A Dextern.h38 extern int cflag, eval, fscale, nlistread, rawcpu;
H A Dprint.c631 #define fxtofl(fixpt) ((double)(fixpt) / fscale) in getpcpu()
/freebsd/lib/msun/i387/
H A Ds_scalbn.S40 fscale
H A Ds_scalbnf.S12 fscale
H A Ds_scalbnl.S12 fscale
H A De_exp.S73 fscale /* e^x */
/freebsd/lib/msun/amd64/
H A Ds_scalbn.S33 fscale
H A Ds_scalbnl.S13 fscale
H A Ds_scalbnf.S33 fscale
/freebsd/lib/libc/gen/
H A Dgetloadavg.c61 loadavg[i] = (double) loadinfo.ldavg[i] / loadinfo.fscale; in getloadavg()
/freebsd/sys/sys/
H A Dresource.h164 long fscale; member
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c903 (int)(averunnable.ldavg[0] / averunnable.fscale), in linprocfs_doloadavg()
904 (int)(averunnable.ldavg[0] * 100 / averunnable.fscale % 100), in linprocfs_doloadavg()
905 (int)(averunnable.ldavg[1] / averunnable.fscale), in linprocfs_doloadavg()
906 (int)(averunnable.ldavg[1] * 100 / averunnable.fscale % 100), in linprocfs_doloadavg()
907 (int)(averunnable.ldavg[2] / averunnable.fscale), in linprocfs_doloadavg()
908 (int)(averunnable.ldavg[2] * 100 / averunnable.fscale % 100), in linprocfs_doloadavg()
/freebsd/sbin/sysctl/
H A Dsysctl.c688 (double)tv->ldavg[0]/(double)tv->fscale, in S_loadavg()
689 (double)tv->ldavg[1]/(double)tv->fscale, in S_loadavg()
690 (double)tv->ldavg[2]/(double)tv->fscale); in S_loadavg()
/freebsd/sys/kern/
H A Dkern_synch.c92 /* kernel uses `FSCALE', userland (SHOULD) use kern.fscale */
93 SYSCTL_INT(_kern, OID_AUTO, fscale, CTLFLAG_RD, SYSCTL_NULL_INT_PTR, FSCALE,
/freebsd/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c291 (double)la.ldavg[0] / (double)la.fscale); in oid_get_value()
/freebsd/sys/vm/
H A Dvm_meter.c131 la[3] = averunnable.fscale; in sysctl_vm_loadavg()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SMEInstrInfo.td922 defm FSCALE_2ZZ : sme2_fp_sve_destructive_vector_vg2_single<"fscale", 0b0011000>;
923 defm FSCALE_4ZZ : sme2_fp_sve_destructive_vector_vg4_single<"fscale", 0b0011000>;
924 defm FSCALE_2Z2Z : sme2_fp_sve_destructive_vector_vg2_multi<"fscale", 0b0011000>;
925 defm FSCALE_4Z4Z : sme2_fp_sve_destructive_vector_vg4_multi<"fscale", 0b0011000>;
H A DAArch64SVEInstrInfo.td706 defm FSCALE_ZPmZ : sve_fp_2op_p_zds_fscale<0b1001, "fscale", int_aarch64_sve_fscale>;
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c1414 long fscale ) in get_binary_time() argument
1423 ts.tv_nsec *= fscale; in get_binary_time()
/freebsd/usr.bin/top/
H A Dmachine.c472 si->load_avg[i] = (double)sysload.ldavg[i] / sysload.fscale; in get_system_info()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFPStack.td662 def FSCALE : I<0xD9, MRM_FD, (outs), (ins), "fscale", []>;
/freebsd/sys/compat/linux/
H A Dlinux_misc.c152 LINUX_SYSINFO_LOADS_SCALE / averunnable.fscale; in linux_sysinfo()

12