Home
last modified time | relevance | path

Searched refs:FSCALE (Results 1 – 20 of 20) sorted by relevance

/freebsd-13-stable/sys/kern/
HDkern_racct.c184 static const fixpt_t RACCT_DECAY_FACTOR = 0.3 * FSCALE;
195 [0] = FSCALE * 1,
196 [1] = FSCALE * 0.95122942450071400909,
197 [2] = FSCALE * 0.90483741803595957316,
198 [3] = FSCALE * 0.86070797642505780722,
199 [4] = FSCALE * 0.81873075307798185866,
200 [5] = FSCALE * 0.77880078307140486824,
201 [6] = FSCALE * 0.74081822068171786606,
202 [7] = FSCALE * 0.70468808971871343435,
203 [8] = FSCALE * 0.67032004603563930074,
[all …]
HDkern_synch.c83 { {0, 0, 0}, FSCALE }; /* load average, of runnable procs */
89 0.9200444146293232 * FSCALE, /* exp(-1/12) */
90 0.9834714538216174 * FSCALE, /* exp(-1/60) */
91 0.9944598480048967 * FSCALE, /* exp(-1/180) */
95 SYSCTL_INT(_kern, OID_AUTO, fscale, CTLFLAG_RD, SYSCTL_NULL_INT_PTR, FSCALE,
620 nrun * FSCALE * (FSCALE - cexp[i])) >> FSHIFT; in loadav()
HDtty_info.c307 load = ((int64_t)averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in tty_info()
367 pctcpu = (sched_pctcpu(td) * 10000 + FSCALE / 2) >> FSHIFT; in tty_info()
HDsched_4bsd.c434 #define decay_cpu(loadfac, cpu) (((loadfac) * (cpu)) / ((loadfac) + FSCALE))
437 static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */
517 ts->ts_pctcpu += ((FSCALE - ccpu) * in schedcpu()
519 FSCALE / realstathz)) >> FSHIFT; in schedcpu()
1617 delta = ((FSCALE - ccpu) * in sched_pctcpu_delta()
1619 FSCALE / realstathz)) >> FSHIFT; in sched_pctcpu_delta()
HDsched_ule.c2806 pctcpu = (FSCALE * ((FSCALE * rtick)/hz)) >> FSHIFT; in sched_pctcpu()
/freebsd-13-stable/usr.bin/top/
HDloadavg.h21 #define pctdouble(p) ((double)(p) / FSCALE)
24 #define loaddouble(la) ((double)(la) / FSCALE)
/freebsd-13-stable/usr.bin/rup/
HDrup.c44 #undef FSCALE
154 (double)host_stat->avenrun[0]/FSCALE, in rstat_reply()
155 (double)host_stat->avenrun[1]/FSCALE, in rstat_reply()
156 (double)host_stat->avenrun[2]/FSCALE); in rstat_reply()
/freebsd-13-stable/libexec/rpc.rstatd/
HDrstat_proc.c66 #undef FSCALE
96 #ifndef FSCALE
97 #define FSCALE (1 << 8) macro
209 stats_all.s2.avenrun[0] = avrun[0] * FSCALE; in updatestat()
210 stats_all.s2.avenrun[1] = avrun[1] * FSCALE; in updatestat()
211 stats_all.s2.avenrun[2] = avrun[2] * FSCALE; in updatestat()
/freebsd-13-stable/sys/dev/syscons/snake/
HDsnake_saver.c59 #define LOAD_HIGH(ld) (((ld * 100 + FSCALE / 2) >> FSHIFT) / 100)
60 #define LOAD_LOW(ld) (((ld * 100 + FSCALE / 2) >> FSHIFT) % 100)
117 load = ((averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT); in snake_saver()
/freebsd-13-stable/include/rpcsvc/
HDrstat.x38 %#ifndef FSCALE
43 %#define FSCALE (1<<FSHIFT)
/freebsd-13-stable/sys/sys/
HDparam.h355 #define FSCALE (1<<FSHIFT) macro
/freebsd-13-stable/contrib/sendmail/src/
HDconf.c1491 #ifndef FSCALE
1492 # define FSCALE (1 << FSHIFT) macro
1635 (int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1636 return ((int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1705 (int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1706 return ((int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1945 (int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1946 return ((int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1989 la = ((double) ksn->value.ul + FSCALE/2) / FSCALE; in getla()
2045 loadav = (int) (avenrun + FSCALE/2) >> FSHIFT; in getla()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86SchedHaswell.td846 // FSCALE.
851 def : InstRW<[HWWriteFSCALE], (instrs FSCALE)>;
HDX86ScheduleAtom.td843 def : InstRW<[AtomWrite01_77], (instrs FSCALE)>;
HDX86InstrFPStack.td662 def FSCALE : I<0xD9, MRM_FD, (outs), (ins), "fscale", []>;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64SchedA510.td1084 def : InstRW<[CortexA510Write<4, CortexA510UnitVMAC>], (instregex "^(FSCALE|FMULX)_(ZPmZ|ZPZZ)_[HSD…
HDAArch64SchedNeoverseV1.td1620 def : InstRW<[V1Write_3c_1V01], (instregex "^(FSCALE|FMULX)_ZPmZ_[HSD]",
HDAArch64SchedNeoverseN2.td2006 def : InstRW<[N2Write_3cyc_1V], (instregex "^(FSCALE|FMULX)_ZPmZ_[HSD]",
HDAArch64SchedNeoverseV2.td2523 def : InstRW<[V2Write_3cyc_1V], (instregex "^(FSCALE|FMULX)_ZPmZ_[HSD]",
HDAArch64InstrInfo.td10131 defm FSCALE : SIMDThreeSameVectorFP<0b1, 0b1, 0b111, "fscale", null_frag>;