Home
last modified time | relevance | path

Searched refs:FSHIFT (Results 1 – 13 of 13) sorted by relevance

/freebsd-10-stable/sys/dev/syscons/snake/
Dsnake_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-10-stable/include/rpcsvc/
Drstat.x42 %#define FSHIFT 8 /* bits to right of fixed binary point */
43 %#define FSCALE (1<<FSHIFT)
/freebsd-10-stable/sys/kern/
Dsched_4bsd.c496 ts->ts_pctcpu = (ts->ts_pctcpu * ccpu) >> FSHIFT; in schedcpu()
503 #if (FSHIFT >= CCPU_SHIFT) in schedcpu()
506 (FSHIFT - CCPU_SHIFT) : in schedcpu()
508 << (FSHIFT - CCPU_SHIFT)) / realstathz; in schedcpu()
512 FSCALE / realstathz)) >> FSHIFT; in schedcpu()
1585 #if (FSHIFT >= CCPU_SHIFT) in sched_pctcpu_delta()
1588 (FSHIFT - CCPU_SHIFT) : in sched_pctcpu_delta()
1590 << (FSHIFT - CCPU_SHIFT)) / realstathz; in sched_pctcpu_delta()
1594 FSCALE / realstathz)) >> FSHIFT; in sched_pctcpu_delta()
Dtty_info.c232 load = (averunnable.ldavg[0] * 100 + FSCALE / 2) >> FSHIFT; in tty_info()
292 pctcpu = (sched_pctcpu(td) * 10000 + FSCALE / 2) >> FSHIFT; in tty_info()
Dkern_synch.c542 nrun * FSCALE * (FSCALE - cexp[i])) >> FSHIFT; in loadav()
Dkern_racct.c364 pctcpu_next = (pctcpu * ccpu_exp[1]) >> FSHIFT; in racct_getpcpu()
Dsched_ule.c2484 pctcpu = (FSCALE * ((FSCALE * rtick)/hz)) >> FSHIFT; in sched_pctcpu()
/freebsd-10-stable/sys/sys/
Dparam.h339 #define FSHIFT 11 /* bits to right of fixed binary point */ macro
340 #define FSCALE (1<<FSHIFT)
/freebsd-10-stable/contrib/sendmail/src/
Dconf.c1407 #ifndef FSHIFT
1409 # define FSHIFT 5 macro
1413 # define FSHIFT 10 macro
1418 #ifndef FSHIFT
1419 # define FSHIFT 8 macro
1423 # define FSCALE (1 << FSHIFT)
1566 (int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1567 return ((int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1636 (int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
1637 return ((int) (avenrun[0] + FSCALE/2) >> FSHIFT); in getla()
[all …]
DREADME391 FSHIFT For LA_INT, LA_SHORT, and LA_READKSYM, this is the number
/freebsd-10-stable/usr.bin/rup/
Drup.c44 #undef FSHIFT /* Use protocol's shift and scale values */
/freebsd-10-stable/libexec/rpc.rstatd/
Drstat_proc.c68 #undef FSHIFT /* Use protocol's shift and scale values */
/freebsd-10-stable/contrib/sendmail/include/sm/
Dconf.h224 # define FSHIFT 16 macro
1602 # define FSHIFT 16 macro