HomeSort by: relevance | last modified time | path
    Searched defs:ticks (Results 1 - 25 of 100) sorted by relevancy

1 2 3 4

  /src/sys/arch/pmax/stand/common/
clock.c 40 long ticks; local
41 ticks = (*callv->_time)((long *)0);
42 return (ticks);
  /src/sys/arch/sun68k/stand/libsa/
clock.c 15 long ticks; local
17 ticks = getticks();
18 return ((ticks / hz));
24 long ticks; local
26 ticks = *romVectorPtr->nmiClock;
27 return (ticks);
  /src/sys/arch/evbppc/stand/wii/
timer.c 42 int64_t ticks = usecs * 2; /* Each tick is appx. 526.7ns */ local
45 while (ticks > 0) {
55 ticks -= elapsed;
  /src/external/cddl/osnet/sys/sys/
kcondvar.h 55 int ticks = ((uint64_t)tim * hz) / 1000000000; local
57 return cv_timedwait(cvp, mp, ticks);
  /src/external/mit/libuv/dist/test/
benchmark-loop-count.c 30 static unsigned long ticks; variable
36 if (++ticks == NUM_TICKS)
42 ticks++;
63 ASSERT(ticks == NUM_TICKS);
65 fprintf(stderr, "loop_count: %d ticks in %.2fs (%.0f/s)\n",
87 fprintf(stderr, "loop_count: %lu ticks (%.0f ticks/s)\n", ticks, ticks / 5.0);
test-tcp-oob.c 36 static int ticks; variable
48 if (++ticks < kMaxTicks)
136 ASSERT_EQ(ticks, kMaxTicks);
test-tcp-unexpected-read.c 33 static unsigned long ticks; /* event loop ticks */ variable
37 ticks++;
113 ASSERT_LE(ticks, 20);
test-poll-oob.c 40 static int ticks; variable
57 if (++ticks < kMaxTicks)
195 ASSERT_EQ(ticks, kMaxTicks);
  /src/external/bsd/jemalloc/dist/test/unit/
ticker.c 68 const int32_t ticks = 100; local
72 ticker_geom_init(&ticker, ticks);
84 * expected ticks.
86 expect_u64_ge(total_ticks , niters * ticks * 9 / 10,
88 expect_u64_le(total_ticks , niters * ticks * 11 / 10,
  /src/sys/arch/arm/ti/
am3_platform.c 118 long ticks = n * 24; local
124 while (ticks > 0) {
127 ticks -= (cur - prev);
129 ticks -= (UINT32_MAX - cur + prev);
  /src/sys/arch/riscv/riscv/
clock_machdep.c 161 const uint64_t ticks = (uint64_t)us * timer_ticks_per_usec; local
162 const uint64_t finish = csr_time_read() + ticks;
  /src/sys/arch/sgimips/dev/
ctl.c 200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); local
201 callout_reset(&ctl_blink_ch, ticks, ctl_blink, sc);
  /src/external/gpl3/gdb/dist/sim/mcore/
mcore-sim.h 56 int ticks; member in struct:mcore_sim_cpu
  /src/external/gpl3/gdb.old/dist/sim/mcore/
mcore-sim.h 56 int ticks; member in struct:mcore_sim_cpu
  /src/sys/arch/amiga/stand/bootblock/boot/
console.c 273 unsigned long ticks; local
284 ticks = 10 * timelimit;
287 ticks = 2;
297 ticks = 1;
304 ticks = 1;
308 if (ticks == 1)
313 --ticks;
314 } while (ticks != 0);
  /src/sys/arch/arm/at91/
at91st.c 93 /* Match value for clock timer; running at 32.768kHz, want HZ ticks per second */
105 /* convert specified number of ticks to usec, and round up */
125 /* convert specified number of usec to timer ticks, and round up */
336 static void tdelay(unsigned int ticks)
342 end = start + ticks;
344 /* just loop for the specified number of ticks */
390 /* have more than 1 tick; just do in ticks */
391 unsigned int ticks = usec / USEC_PER_TICK; local
392 if (ticks*USEC_PER_TICK != usec)
393 ticks += 1
    [all...]
at91tctmr.c 99 /* Match value for clock timer; running at master clock, want HZ ticks per second */
122 /* convert specified number of usec to timer ticks, and round up */
301 int prev_ticks, ticks, ticks2; local
308 ticks = getticks();
310 if (ticks != prev_ticks) {
312 prev_ticks = ticks;
315 ticks = getticks();
320 if (ticks2 != ticks) {
364 /* have more than 1 tick; just do in ticks */
365 unsigned int ticks = (usec + sc->sc_usec_per_tick - 1) / sc->sc_usec_per_tick local
    [all...]
  /src/sys/arch/i386/pci/
geodewdg.c 168 uint32_t ticks; local
184 ticks = smw->smw_period * SC1100_WDCLK_HZ;
186 GEODE_DPRINTF(("%s: ticks0 %" PRIu32 "\n", __func__, ticks));
188 for (prescale = 0; ticks > UINT16_MAX; prescale++)
189 ticks /= 2;
191 GEODE_DPRINTF(("%s: ticks %" PRIu32 "\n", __func__, ticks));
195 KASSERT(ticks <= UINT16_MAX);
200 sc->sc_countdown = (uint16_t)ticks;
  /src/sys/arch/powerpc/powerpc/
clock.c 145 long ticks; local
156 __asm ("mfdec %0" : "=r"(ticks));
157 for (nticks = 0; ticks < 0; nticks++)
158 ticks += ticks_per_intr;
159 __asm volatile ("mtdec %0" :: "r"(ticks));
182 ci->ci_lasttb = tb + ticks - ticks_per_intr;
  /src/sys/kern/
subr_time_arith.c 98 * Compute number of ticks in the specified amount of time.
103 unsigned long ticks; local
110 * ticks, rounding up and adding 1 to allow for the current tick
114 * Otherwise, if the number of ticks in the whole seconds part of
116 * ticks separately and add, using similar rounding methods and
124 * 10ms ticks is 248 days.
140 * Would expire now or in the past. Return 0 ticks.
144 ticks = 0;
146 ticks = (((sec * 1000000) + (unsigned long)usec + (tick - 1))
149 ticks = (sec * hz)
    [all...]
  /src/usr.bin/time/
time.c 166 unsigned long long ticks; local
167 #define SCALE(x) (long)(ticks ? x / ticks : 0)
169 ticks = hz * (ru.ru_utime.tv_sec + ru.ru_stime.tv_sec) +
  /src/external/mpl/bind/dist/tests/isc/
ratelimiter_test.c 73 static int ticks = 0; variable
84 ticks++;
102 ticks = 0;
106 ISC_LOOP_TEARDOWN_IMPL(ratelimiter_enqueue) { assert_int_equal(ticks, 1); }
120 ticks = 0;
125 assert_int_equal(ticks, 1);
154 ticks = 0;
159 assert_int_equal(ticks, 0);
198 ticks++;
203 ticks = 0
    [all...]
  /src/sys/arch/arm/cortex/
a9tmr.c 346 u_int ticks = hz; local
348 delta >= sc->sc_autoinc && ticks > 0;
349 delta -= sc->sc_autoinc, ticks--) {
gtmr.c 326 int64_t ticks = (int64_t)n * incr_per_us; local
330 while (ticks > 0) {
334 ticks -= (curr - last);
336 ticks -= (UINT64_MAX - curr + last);
  /src/sys/arch/arm/samsung/
mct.c 297 long ticks = n * incs_per_us; local
300 while (ticks > 0) {
303 ticks -= (cur - prev);
305 ticks -= (UINT64_MAX - cur + prev);

Completed in 47 milliseconds

1 2 3 4