Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 25 of 75) sorted by relevance

123

/netbsd/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Dstopwatch.d147 Thread.sleep(usecs(1));
166 Thread.sleep(usecs(1));
198 Thread.sleep(usecs(1));
223 Thread.sleep(usecs(1));
262 Thread.sleep(usecs(1));
265 Thread.sleep(usecs(1));
270 Thread.sleep(usecs(1));
274 Thread.sleep(usecs(1));
372 Thread.sleep(usecs(1));
376 Thread.sleep(usecs(1));
[all …]
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Dstopwatch.d65 Thread.sleep(usecs(1));
69 Thread.sleep(usecs(1));
78 Thread.sleep(usecs(1));
151 Thread.sleep(usecs(1));
170 Thread.sleep(usecs(1));
202 Thread.sleep(usecs(1));
227 Thread.sleep(usecs(1));
266 Thread.sleep(usecs(1));
269 Thread.sleep(usecs(1));
274 Thread.sleep(usecs(1));
[all …]
H A Dsystime.d4352 Note that when rolling msecs, usecs or hnsecs, they all add up to a
4354 rolling 100,000 usecs.
4530 auto sysTime = SysTime(DateTime(1999, 2, 28, 7, 9, 2), usecs(234578));
4538 auto sysTime = SysTime(DateTime(1999, 7, 6, 7, 9, 2), usecs(234578));
4627 auto sysTime = SysTime(DateTime(-1999, 7, 6, 7, 9, 2), usecs(234578));
4989 immutable d = usecs(7203);
5521 auto beforeAD = SysTime(DateTime(1999, 7, 6, 12, 30, 33), usecs(274));
5559 auto beforeBC = SysTime(DateTime(-1999, 7, 6, 12, 30, 33), usecs(274));
5598 testST(beforeBoth1, 1, SysTime(DateTime(1, 1, 1, 0, 0, 0), usecs(1)));
6251 assert(SysTime(dt, usecs(333_347)) - SysTime(dt) == usecs(333_347));
[all …]
/netbsd/sys/arch/mips/mips/
H A Dmips3_clock.c64 uint32_t cur, last, delta, usecs; in mips3_delay() local
67 delta = usecs = 0; in mips3_delay()
80 while (n > usecs) { in mips3_delay()
97 usecs++; in mips3_delay()
/netbsd/sys/arch/arm/ixp12x0/
H A Dixp12x0_clk.c305 delay(unsigned int usecs) in delay() argument
320 csec = usecs / 10000; in delay()
321 usec = usecs % 10000; in delay()
323 usecs = (TIMER_FREQUENCY / 100) * csec in delay()
326 for(; usecs > 0; usecs--) in delay()
332 count = ixpclk_sc->sc_count_per_usec * usecs; in delay()
/netbsd/sys/arch/arm/arm32/
H A Dcortex_pmc.c88 uint32_t usecs = 0; in delay() local
97 delta = usecs = 0; in delay()
98 while (arg > usecs) { in delay()
118 usecs += delta / counts_per_usec; in delay()
H A Darm11_pmc.c121 uint32_t usecs = 0; in delay() local
127 delta = usecs = 0; in delay()
129 while (arg > usecs) { in delay()
145 usecs += delta / COUNTS_PER_USEC; in delay()
/netbsd/sys/arch/arm/sa11x0/
H A Dsa11x0_ost.c308 delay(u_int usecs) in delay() argument
313 csec = usecs / 10000; in delay()
314 usec = usecs % 10000; in delay()
316 usecs = (TIMER_FREQUENCY / 100) * csec in delay()
323 for (; usecs > 0; usecs--) in delay()
334 if (delta > usecs) in delay()
336 usecs -= delta; in delay()
/netbsd/sys/arch/arm/xscale/
H A Dixp425_timer.c225 int usecs; in delay() local
237 usecs = (0x80000000U / COUNTS_PER_USEC) - 1; in delay()
239 usecs = n * COUNTS_PER_USEC; in delay()
244 while (usecs > 0) { in delay()
246 usecs -= (int)(last - first); in delay()
H A Dbecc_timer.c220 uint32_t cur, last, delta, usecs; in delay() local
227 delta = usecs = 0; in delay()
229 while (n > usecs) { in delay()
241 usecs += delta / COUNTS_PER_USEC; in delay()
H A Di80321_timer.c312 uint32_t cur, last, delta, usecs; in delay() local
319 delta = usecs = 0; in delay()
321 while (n > usecs) { in delay()
333 usecs += delta / COUNTS_PER_USEC; in delay()
/netbsd/external/bsd/am-utils/dist/libamu/
H A Dualarm.c57 ualarm(u_int usecs, u_int interval) in ualarm() argument
63 new.it_value.tv_usec = usecs % USPS; in ualarm()
64 new.it_value.tv_sec = usecs / USPS; in ualarm()
/netbsd/lib/libc/gen/
H A Dualarm.c57 ualarm(useconds_t usecs, useconds_t reload) in __weak_alias()
64 new.it_value.tv_usec = usecs % USPS; in __weak_alias()
65 new.it_value.tv_sec = usecs / USPS; in __weak_alias()
/netbsd/sys/arch/evbarm/iq80310/
H A Diq80310_timer.c273 uint32_t cur, last, delta, usecs; in delay() local
280 delta = usecs = 0; in delay()
282 while (n > usecs) { in delay()
294 usecs += delta / COUNTS_PER_USEC; in delay()
/netbsd/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dtime_1.h214 gf_gettime (time_t * secs, long * usecs) in gf_gettime() argument
221 *usecs = tv.tv_usec; in gf_gettime()
227 *usecs = ts.tv_nsec / 1000; in gf_gettime()
232 *usecs = 0; in gf_gettime()
/netbsd/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dtime_1.h214 gf_gettime (time_t * secs, long * usecs) in gf_gettime() argument
220 *usecs = ts.tv_nsec / 1000; in gf_gettime()
227 *usecs = tv.tv_usec; in gf_gettime()
232 *usecs = 0; in gf_gettime()
/netbsd/sys/arch/evbmips/ingenic/
H A Dclock.c145 uint32_t cur, last, delta, usecs; in delay() local
148 delta = usecs = 0; in delay()
160 while (n > usecs) { in delay()
177 usecs++; in delay()
/netbsd/regress/sys/kern/select/
H A Dselect.c183 uint64_t usecs; in main() local
216 usecs = (end_tv.tv_sec - start_tv.tv_sec) * 1000000 in main()
218 printf("%u / %f = %f\n", result, (double)usecs / 1000000, in main()
219 (double)result / usecs * 1000000); in main()
/netbsd/sys/arch/arm/broadcom/
H A Dbcm2835_tmr.c189 uint32_t delta, usecs; in bcm2835_tmr_delay() local
195 delta = usecs = 0; in bcm2835_tmr_delay()
196 while (n > usecs) { in bcm2835_tmr_delay()
209 usecs += delta / counts_per_usec; in bcm2835_tmr_delay()
/netbsd/sys/dev/pci/
H A Dif_wi_pci.c157 int i, secs, usecs; in wi_pci_reset() local
176 usecs = (200000 - i) * 10; in wi_pci_reset()
177 secs = usecs / 1000000; in wi_pci_reset()
178 usecs %= 1000000; in wi_pci_reset()
181 device_xname(sc->sc_dev), secs, usecs); in wi_pci_reset()
/netbsd/sys/external/bsd/dwc2/dist/
H A Ddwc2_hcdqueue.c125 qh->usecs = dwc2_calc_bus_time(hsotg, qh->do_split ? in dwc2_qh_init()
204 qh->usecs); in dwc2_qh_init()
341 max_claimed_usecs = 100 - qh->usecs; in dwc2_check_periodic_bandwidth()
347 max_claimed_usecs = 900 - qh->usecs; in dwc2_check_periodic_bandwidth()
353 __func__, hsotg->periodic_usecs, qh->usecs); in dwc2_check_periodic_bandwidth()
380 unsigned short utime = qh->usecs; in dwc2_find_single_uframe()
399 unsigned short utime = qh->usecs; in dwc2_find_multi_uframe()
571 hsotg->periodic_usecs += qh->usecs; in dwc2_schedule_periodic()
591 hsotg->periodic_usecs -= qh->usecs; in dwc2_deschedule_periodic()
/netbsd/sys/arch/arm/footbridge/
H A Dfootbridge_clock.c363 uint32_t cur, last, delta, usecs; in delay() local
396 delta = usecs = 0; in delay()
398 while (n > usecs) { in delay()
411 usecs++; in delay()
/netbsd/sys/arch/arm/cortex/
H A Da9ptmr.c197 uint32_t delta, usecs, last, curr; in a9ptmr_delay() local
203 delta = usecs = 0; in a9ptmr_delay()
204 while (n > usecs) { in a9ptmr_delay()
216 usecs += delta / counts_per_usec; in a9ptmr_delay()
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dlinux-dp.c84 my_usleep (long usecs) in my_usleep() argument
88 timeout.tv_sec = usecs / 1000000; in my_usleep()
89 timeout.tv_usec = usecs % 1000000; in my_usleep()
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dlinux-dp.c84 my_usleep (long usecs) in my_usleep() argument
88 timeout.tv_sec = usecs / 1000000; in my_usleep()
89 timeout.tv_usec = usecs % 1000000; in my_usleep()

123