/freebsd-11-stable/sys/powerpc/booke/ |
H A D | platform_bare.c | 93 u_long ticks; local 100 ticks = bootinfo[3] >> 3; 103 ticks = bootinfo[5] >> 3; 106 ticks = 0; 119 ticks = tbase; 120 return (ticks); 126 ticks = tbase; 127 return (ticks); 143 ticks = freq / 8; 146 if (ticks < [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | ratectrl.c | 273 unsigned int ticks; local 285 ticks = now / ChtGran; 373 ct = &chBest->ch_Times[ticks % CHTSIZE]; 375 if (ct->ct_Ticks != ticks) 377 ct->ct_Ticks = ticks; 390 if (cth->ct_Ticks <= ticks && cth->ct_Ticks >= ticks - CHTSIZE) 507 unsigned int ticks; local 510 ticks = now / ChtGran; 515 ct = &srv_Times[ticks 549 unsigned int ticks; local [all...] |
/freebsd-11-stable/sys/xen/ |
H A D | hypervisor.h | 25 extern uint64_t get_system_time(int ticks); 81 /* of the specified ports or the specified number of ticks elapse */ 84 evtchn_port_t *ports, unsigned int nr_ports, int ticks) 89 .timeout = get_system_time(ticks) 83 HYPERVISOR_poll( evtchn_port_t *ports, unsigned int nr_ports, int ticks) argument
|
/freebsd-11-stable/sys/arm/amlogic/aml8726/ |
H A D | aml8726_rng.c | 57 int ticks; member in struct:aml8726_rng_softc 82 callout_reset(&sc->co, sc->ticks, aml8726_rng_harvest, sc); 114 sc->ticks = hz / 100; 116 sc->ticks = 1; 119 callout_reset(&sc->co, sc->ticks, aml8726_rng_harvest, sc);
|
H A D | aml8726_timer.c | 174 uint32_t ticks; local 180 ticks = first_ticks; 184 ticks = period_ticks; 188 if (ticks == 0) 196 CSR_WRITE_4(sc, AML_TIMER_A_REG, ticks);
|
/freebsd-11-stable/sys/arm/freescale/imx/ |
H A D | imx_epit.c | 89 * so I'm setting the lower limit to 2 ticks. 176 uint64_t curcnt, endcnt, startcnt, ticks; local 180 * clock frequency. Loop until the hardware count reaches start+ticks. 186 ticks = 1 + ((uint64_t)usec * sc->clkfreq) / 1000000; 188 endcnt = startcnt + ticks; 233 uint32_t ticks; local 246 ticks = ((uint32_t)et->et_frequency * period) >> 32; 249 ticks = ((uint32_t)et->et_frequency * first) >> 32; 255 WR4(sc, EPIT_LR, ticks); 515 uint64_t ticks; local [all...] |
H A D | imx_gpt.c | 260 * Measure how many clock ticks it takes to setup a one-shot event (it's 298 uint32_t ticks; local 316 ticks = ((uint32_t)et->et_frequency * first) >> 32; 320 WRITE4(sc, IMX_GPT_OCR3, READ4(sc, IMX_GPT_CNT) + ticks); 413 uint64_t curcnt, endcnt, startcnt, ticks; local 418 for (ticks = 0; ticks < imx_gpt_delay_count; ++ticks) 425 * clock frequency. Loop until the hardware count reaches start+ticks. 431 ticks [all...] |
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/tick-n/ |
H A D | Makefile | 24 tst.ticks.d \ 25 tst.ticks.d.out \
|
/freebsd-11-stable/tools/tools/netrate/tcpp/ |
H A D | tcpp_server.c | 281 long cp_time_last[CPUSTATES], cp_time_now[CPUSTATES], ticks; 324 ticks = 0; 328 ticks += cp_time_last[i]; 332 (100 * cp_time_last[CP_USER]) / ticks, 333 (100 * cp_time_last[CP_NICE]) / ticks, 334 (100 * cp_time_last[CP_SYS]) / ticks, 335 (100 * cp_time_last[CP_INTR]) / ticks, 336 (100 * cp_time_last[CP_IDLE]) / ticks);
|
H A D | tcpp_client.c | 281 long ticks; local 366 ticks = 0; 369 ticks += cp_time_finish[i]; 371 printf("%0.02f,", (float)(100 * cp_time_finish[CP_USER]) / ticks); 372 printf("%0.02f,", (float)(100 * cp_time_finish[CP_NICE]) / ticks); 373 printf("%0.02f,", (float)(100 * cp_time_finish[CP_SYS]) / ticks); 374 printf("%0.02f,", (float)(100 * cp_time_finish[CP_INTR]) / ticks); 375 printf("%0.02f", (float)(100 * cp_time_finish[CP_IDLE]) / ticks);
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_ht.h | 49 int txa_lastsample; /* ticks @ last traffic sample */ 96 tap->txa_lastsample = ticks; 117 while (ticks - tap->txa_lastsample >= hz) { 122 tap->txa_lastsample = ticks; 139 while (ticks - tap->txa_lastsample >= hz) { 143 tap->txa_lastsample = ticks;
|
/freebsd-11-stable/usr.bin/time/ |
H A D | time.c | 152 u_long ticks; local 154 ticks = hz * (ru.ru_utime.tv_sec + ru.ru_stime.tv_sec) + 161 if (ticks == 0) 162 ticks = 1; 167 ru.ru_ixrss / ticks, "average shared memory size"); 169 ru.ru_idrss / ticks, "average unshared data size"); 171 ru.ru_isrss / ticks, "average unshared stack size");
|
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | nstime.c | 114 uint64_t ticks; local 116 ticks = (((uint64_t)ft.dwHighDateTime) << 32) | 118 time->ns = ticks * 100;
|
/freebsd-11-stable/sys/powerpc/mpc85xx/ |
H A D | platform_mpc85xx.c | 228 u_long ticks; local 235 ticks = bootinfo[3] >> 3; 238 ticks = bootinfo[5] >> 3; 241 ticks = 0; 254 ticks = tbase; 255 return (ticks); 261 ticks = tbase; 262 return (ticks); 281 ticks = freq / 32; 283 ticks [all...] |
/freebsd-11-stable/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 220 int ticks; local 234 ticks = tvtohz(&tv); 238 "(in: %s sec -> out: %jd sec %ld ns -> %d ticks)\n", 241 myoptarg, (intmax_t)ts.tv_sec, ts.tv_nsec, ticks); 243 if (ticks <= 0) { 590 * Convert a timeval to a number of ticks. 596 register unsigned long ticks; local 615 * ticks, rounding up and adding 1 to allow for the current tick 619 * Otherwise, if the number of ticks in the whole seconds part of 621 * ticks separatel [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | jiffies.h | 41 #define jiffies ticks 42 #define jiffies_64 ticks 151 return ((uint64_t)(unsigned int)ticks);
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_lna_div.h | 87 struct ath_rx_status *rs, unsigned long ticks, int hz);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 353 ticks since startup. The accuracy here might be as bad as 10-20 msec, I 422 DWORD ticks = GetTickCount(); local 423 if (ticks < base->last_tick_count) { 426 base->last_tick_count = ticks; 427 return ticks + base->adjust_tick_count; 472 ev_uint64_t ticks = evutil_GetTickCount_(base); local 484 ticks_elapsed = ticks - base->first_tick; 504 tp->tv_sec = (time_t) (ticks / 1000); 505 tp->tv_usec = (ticks % 1000) * 1000;
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_clock.c | 228 tticks = ticks - td->td_blktick; 240 panic("%s: possible deadlock detected for %p, blocked for %d ticks\n", 254 tticks = ticks - td->td_slptick; 286 panic("%s: possible deadlock detected for %p, blocked for %d ticks\n", 363 * cpu ticks. The mean frequency of the second timer is stathz. 384 volatile int ticks; variable 387 static DPCPU_DEFINE(int, pcputicks); /* Per-CPU version of ticks. */ 477 atomic_add_int(&ticks, 1); 508 * Update per-CPU and possibly global ticks values. 512 global = ticks; 589 unsigned long ticks; local [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | timer.c | 83 u_long ticks = 0; local 104 ticks = RESTVAL(itimer) - TimerList->rest; 108 if (ticks + t->rest >= tp->load) 110 ticks += t->rest; 115 tp->rest = tp->load - ticks;
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | printactivenat.c | 20 printactivenat(nat, opts, ticks) 23 u_long ticks; 107 nat->nat_age - ticks, nat->nat_use,
|
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_wdog.c | 150 uint32_t ticks, reg; local 173 ticks = (sec << 16) & BCM2835_WDOG_TIME_MASK; 174 reg = (BCM2835_PASWORD << BCM2835_PASSWORD_SHIFT) | ticks;
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | systime.c | 143 long ticks; local 163 ticks = (long)((tsp->tv_nsec * 1e-9) / sys_tick); 164 tsp->tv_nsec = (long)(ticks * 1e9 * sys_tick); 295 long ticks; local 332 ticks = (long)(dtemp / quant + .5); 333 adjtv.tv_usec = (long)(ticks * quant * 1.e6 + .5);
|
/freebsd-11-stable/sys/mips/rmi/dev/iic/ |
H A D | max6657.c | 66 int sc_lastupdate; /* in ticks */ 134 if (ticks - sc->sc_lastupdate > hz) { 138 sc->sc_lastupdate = ticks;
|
/freebsd-11-stable/include/rpcsvc/ |
H A D | nis_db.h | 101 long ticks; member in struct:db_result
|