Searched refs:ticks (Results 101 - 125 of 212) sorted by relevance

123456789

/freebsd-12-stable/sys/kern/
H A Dsched_ule.c98 u_int ts_slptime; /* Number of ticks we vol. slept */
99 u_int ts_runtime; /* Number of ticks we were running */
139 * SCHED_TICK_TARG: Number of hz ticks to average the cpu usage across.
140 * SCHED_TICK_MAX: Maximum number of ticks before scaling back.
142 * SCHED_TICK_HZ: Compute the number of hz ticks for a given ticks count.
143 * SCHED_TICK_TOTAL: Gives the amount of time we've been recording ticks.
155 * by the ratio of ticks to the tick total. NHALF priorities at the start
161 * PRI_TICKS: Compute a priority in PRI_RANGE from the ticks count and total.
195 #define SCHED_SLICE_DEFAULT_DIVISOR 10 /* ~94 ms, 12 stathz ticks
[all...]
/freebsd-12-stable/sys/dev/ath/ath_rate/sample/
H A Dsample.c477 ticks - sn->stats[size_bin][rix].last_tx < ssc->stale_failure_timeout) {
786 } else if (ticks - ssc->min_switch > sn->ticks_since_switch[size_bin]) {
791 __func__, ticks - ssc->min_switch, sn->ticks_since_switch[size_bin]);
855 sn->ticks_since_switch[size_bin] = ticks;
1030 sn->stats[size_bin][rix0].last_tx = ticks;
1522 printf("[%4u] cur rix %d (%d %s) since switch: packets %d ticks %u\n",
1556 ticks - sn->stats[y][rix].last_tx);
/freebsd-12-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c244 delta = ticks - health->last_reset_req;
252 * In principle, ticks may be 0. Setting it to off by one (-1)
255 health->last_reset_req = ticks ? : -1;
/freebsd-12-stable/sys/netinet/
H A Dtcp_timewait.c667 tw->tw_time = ticks + 2 * tcp_msl;
729 if (tw == NULL || (!reuse && (tw->tw_time - ticks) > 0)) {
H A Dtcp_input.c1593 tp->t_rcvtime = ticks;
1802 (int)(ticks - tp->t_badrxtwin) < 0) {
1826 tp->t_rttlow > ticks - tp->t_rtttime)
1827 tp->t_rttlow = ticks - tp->t_rtttime;
1829 ticks - tp->t_rtttime);
2072 tp->t_starttime = ticks;
2454 tp->t_starttime = ticks;
2836 if (!tp->t_rttlow || tp->t_rttlow > ticks - tp->t_rtttime)
2837 tp->t_rttlow = ticks - tp->t_rtttime;
2838 tcp_xmit_timer(tp, ticks
[all...]
H A Dtcp_subr.c1685 tp->t_rcvtime = ticks;
2747 < (u_int)ticks))) {
2749 V_isn_last_reseed = ticks;
2757 if (ticks != V_isn_last) {
2759 ISN_BYTES_PER_SECOND / hz * (ticks - V_isn_last);
2763 V_isn_last = ticks;
3277 xt->t_rcvtime = 1000 * (ticks - tp->t_rcvtime) / hz;
/freebsd-12-stable/stand/i386/boot0/
H A Dboot0.S162 /* ticks is at a fixed position */
163 .set _TICKS, (PRT_OFF - 0x200 - 2) # Timeout ticks
673 ticks: .word TICKS # Delay label
/freebsd-12-stable/stand/i386/boot2/
H A Dboot2.c55 #define SECOND 18 /* Circa that many ticks in a second. */
609 keyhit(unsigned ticks) argument
622 if ((uint32_t)(t1 - t0) >= ticks)
/freebsd-12-stable/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c265 return ticks * (1000000 / hz);
/freebsd-12-stable/sys/dev/hptnr/
H A Dhptnr_os_bsd.c246 return ticks * (1000000 / hz);
/freebsd-12-stable/sys/dev/nvme/
H A Dnvme_ctrlr.c227 int timeout = ticks + (uint64_t)ctrlr->ready_timeout_in_ms * hz / 1000;
237 if (timeout - ticks < 0) {
1523 timeout = ticks + (ctrlr->cdata.rtd3e == 0 ? 5 * hz :
1531 if (timeout - ticks < 0) {
/freebsd-12-stable/sys/dev/sfxge/
H A Dsfxge_rx.c99 /* Maximum time (in ticks) that a connection can be idle before it's LRO
106 "The maximum time (in ticks) that a connection can be idle "
578 now = ticks;
586 c->last_pkt_ticks = ticks;
659 c->last_pkt_ticks = *(volatile int *)&ticks;
793 t = *(volatile int *)&ticks;
/freebsd-12-stable/sys/sys/
H A Dkernel.h71 extern volatile int ticks;
H A Dsoundcard.h1468 #define SEQ_WAIT_TIME(ticks) _TIMER_EVENT(TMR_WAIT_ABS, ticks)
1469 #define SEQ_DELTA_TIME(ticks) _TIMER_EVENT(TMR_WAIT_REL, ticks)
/freebsd-12-stable/sys/x86/acpica/
H A Dacpi_wakeup.c332 PCPU_SET(switchticks, ticks);
/freebsd-12-stable/sys/dev/ncr/
H A Dncr.c465 /* Type of the kernel variable `ticks'. XXX should be declared with the var. */
1074 u_short ticks; member in struct:ncb
1367 { &time_second, &ticks, &ncr_cache };
1585 SCR_COPY (sizeof (ticks)),
1767 SCR_COPY (sizeof (ticks)),
1789 SCR_COPY (sizeof (ticks)),
2094 SCR_COPY (sizeof (ticks)),
2337 ** SCR_COPY (sizeof (ticks)),
2364 ** SCR_COPY (sizeof (ticks)),
2919 *p++ =SCR_COPY (sizeof (ticks));
[all...]
/freebsd-12-stable/sys/dev/ath/
H A Dif_ath_lna_div.c715 unsigned long ticks, int hz)
772 if (ieee80211_time_after(ticks, antcomb->scan_start_time +
1014 antcomb->scan_start_time = ticks;
714 ath_lna_rx_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs, unsigned long ticks, int hz) argument
H A Dif_ath.c2620 sc->sc_lastlongcal = ticks;
2623 sc->sc_lastani = ticks;
2624 sc->sc_lastshortcal = ticks;
5384 longCal = (ticks - sc->sc_lastlongcal >= ath_longcalinterval*hz);
5385 aniCal = (ticks - sc->sc_lastani >= ath_anicalinterval*hz/1000);
5387 shortCal = (ticks - sc->sc_lastshortcal >= ath_shortcalinterval*hz/1000);
5392 sc->sc_lastani = ticks;
5398 sc->sc_lastlongcal = ticks;
5420 sc->sc_lastcalreset = ticks;
5421 sc->sc_lastshortcal = ticks;
[all...]
/freebsd-12-stable/sys/rpc/
H A Dclnt_dg.c421 starttime = ticks;
600 rtt = ticks - starttime + 1;
646 time_waited = ticks - starttime;
/freebsd-12-stable/lib/libkvm/
H A Dkvm_proc.c86 static int ticks; variable
418 kp->ki_swtime = (ticks - proc.p_swtick) / hz;
643 if (KREAD(kd, nl[2].n_value, &ticks)) {
644 _kvm_err(kd, kd->program, "can't read ticks");
/freebsd-12-stable/sys/dev/rl/
H A Dif_rl.c1402 int ticks; local
1426 ticks = hz;
1428 ticks = hz / 10;
1431 ticks = hz;
1434 callout_reset(&sc->rl_stat_callout, ticks, rl_tick, sc);
/freebsd-12-stable/contrib/bsnmp/snmpd/
H A Dmain.c1844 timer_start(u_int ticks, void (*func)(void *), void *udata, struct lmodule *mod) argument
1858 evConsTime(ticks / 100, (ticks % 100) * 10000));
1868 if ((tp->id = poll_start_timer(ticks * 10, 0, tfunc, tp)) < 0) {
1884 * is currently ignored and the initial number of ticks is set to the
1885 * repeat number of ticks.
1888 timer_start_repeat(u_int ticks __unused, u_int repeat_ticks,
1904 evConsTime(ticks / 100, (ticks % 100) * 10000));
/freebsd-12-stable/sys/dev/usb/
H A Dusb_request.c553 start_ticks = ticks;
581 start_ticks = ticks;
619 start_ticks = ticks;
690 delta_ticks = ticks - start_ticks;
/freebsd-12-stable/sys/dev/sound/midi/
H A Dsequencer.c309 static void timer_wait(struct seq_softc *t, int ticks, int wait_abs);
348 timer_wait(struct seq_softc *t, int ticks, int wait_abs) argument
367 i = ticks * 60ull * 1000000ull / (t->tempo * t->timerbase);
373 printf("timer_wait tempo %d timerbase %d ticks %d abs %d u_sec %llu\n",
374 t->tempo, t->timerbase, ticks, wait_abs, i);
393 printf("seq_timer usec %llu ticks %llu\n",
/freebsd-12-stable/sys/dev/axgbe/
H A Dxgbe-dev.c1936 tx_timeout = ticks + (XGBE_DMA_STOP_TIMEOUT * hz);
1937 while (ticks < tx_timeout) {
2012 rx_timeout = ticks + (XGBE_DMA_STOP_TIMEOUT * hz);
2013 while (ticks < rx_timeout) {

Completed in 407 milliseconds

123456789