| /freebsd-13-stable/sys/kern/ |
| HD | kern_racct.c | 184 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 …]
|
| HD | kern_synch.c | 83 { {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()
|
| HD | tty_info.c | 307 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()
|
| HD | sched_4bsd.c | 434 #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()
|
| HD | sched_ule.c | 2806 pctcpu = (FSCALE * ((FSCALE * rtick)/hz)) >> FSHIFT; in sched_pctcpu()
|
| /freebsd-13-stable/usr.bin/top/ |
| HD | loadavg.h | 21 #define pctdouble(p) ((double)(p) / FSCALE) 24 #define loaddouble(la) ((double)(la) / FSCALE)
|
| /freebsd-13-stable/usr.bin/rup/ |
| HD | rup.c | 44 #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/ |
| HD | rstat_proc.c | 66 #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/ |
| HD | snake_saver.c | 59 #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/ |
| HD | rstat.x | 38 %#ifndef FSCALE 43 %#define FSCALE (1<<FSHIFT)
|
| /freebsd-13-stable/sys/sys/ |
| HD | param.h | 355 #define FSCALE (1<<FSHIFT) macro
|
| /freebsd-13-stable/contrib/sendmail/src/ |
| HD | conf.c | 1491 #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/ |
| HD | X86SchedHaswell.td | 846 // FSCALE. 851 def : InstRW<[HWWriteFSCALE], (instrs FSCALE)>;
|
| HD | X86ScheduleAtom.td | 843 def : InstRW<[AtomWrite01_77], (instrs FSCALE)>;
|
| HD | X86InstrFPStack.td | 662 def FSCALE : I<0xD9, MRM_FD, (outs), (ins), "fscale", []>;
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| HD | AArch64SchedA510.td | 1084 def : InstRW<[CortexA510Write<4, CortexA510UnitVMAC>], (instregex "^(FSCALE|FMULX)_(ZPmZ|ZPZZ)_[HSD…
|
| HD | AArch64SchedNeoverseV1.td | 1620 def : InstRW<[V1Write_3c_1V01], (instregex "^(FSCALE|FMULX)_ZPmZ_[HSD]",
|
| HD | AArch64SchedNeoverseN2.td | 2006 def : InstRW<[N2Write_3cyc_1V], (instregex "^(FSCALE|FMULX)_ZPmZ_[HSD]",
|
| HD | AArch64SchedNeoverseV2.td | 2523 def : InstRW<[V2Write_3cyc_1V], (instregex "^(FSCALE|FMULX)_ZPmZ_[HSD]",
|
| HD | AArch64InstrInfo.td | 10131 defm FSCALE : SIMDThreeSameVectorFP<0b1, 0b1, 0b111, "fscale", null_frag>;
|