HomeSort by: relevance | last modified time | path
    Searched refs:usec (Results 1 - 25 of 161) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/gpl3/gcc/dist/libgfortran/intrinsics/
cpu_time.c 30 __cpu_time_1 (long *sec, long *usec)
36 *usec = user_usec + system_usec;
41 *usec = 0;
51 long sec, usec; local
52 __cpu_time_1 (&sec, &usec);
53 *time = sec + usec * GFC_REAL_4_LITERAL(1.e-6);
62 long sec, usec; local
63 __cpu_time_1 (&sec, &usec);
64 *time = sec + usec * GFC_REAL_8_LITERAL(1.e-6);
73 long sec, usec; local
85 long sec, usec; local
    [all...]
  /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
cpu_time.c 30 __cpu_time_1 (long *sec, long *usec)
36 *usec = user_usec + system_usec;
41 *usec = 0;
51 long sec, usec; local
52 __cpu_time_1 (&sec, &usec);
53 *time = sec + usec * GFC_REAL_4_LITERAL(1.e-6);
62 long sec, usec; local
63 __cpu_time_1 (&sec, &usec);
64 *time = sec + usec * GFC_REAL_8_LITERAL(1.e-6);
73 long sec, usec; local
85 long sec, usec; local
    [all...]
  /src/external/ibm-public/postfix/dist/src/util/
format_tv.c 11 /* VSTRING *format_tv(buffer, sec, usec, sig_dig, max_dig)
14 /* long usec;
32 /* .IP usec
67 VSTRING *format_tv(VSTRING *buf, long sec, long usec,
81 if (sec < 0 || usec < 0 || usec > MILLION)
82 msg_panic("format_tv: bad time %lds %ldus", sec, usec);
97 while (usec >= wid * ures)
106 usec += ures / 2;
107 if (usec >= MILLION)
140 int usec; local
    [all...]
rand_sleep.c 54 unsigned usec; local
67 usec = (delay - variation / 2) + variation * (double) myrand() / RAND_MAX;
68 doze(usec);
  /src/external/bsd/wpa/dist/src/ap/
bss_load.c 20 unsigned int *sec, unsigned int *usec)
36 *usec = (update_timeout % 1000) * 1024;
45 unsigned int sec, usec; local
60 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0)
78 eloop_register_timeout(sec, usec, update_channel_utilization, hapd,
85 unsigned int sec, usec; local
87 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0)
90 eloop_register_timeout(sec, usec, update_channel_utilization, hapd,
airtime_policy.c 38 unsigned int *usec)
50 *usec = (update_int % 1000) * 1000;
61 sta->backlogged_until.usec += hapd->iconf->airtime_update_interval *
63 while (sta->backlogged_until.usec >= 1000000) {
65 sta->backlogged_until.usec -= 1000000;
137 unsigned int sec, usec; local
222 if (get_airtime_policy_update_timeout(iface, &sec, &usec) < 0)
225 eloop_register_timeout(sec, usec, update_airtime_weights, iface,
257 unsigned int sec, usec; local
262 if (get_airtime_policy_update_timeout(iface, &sec, &usec) < 0
    [all...]
  /src/external/bsd/libfido2/dist/fuzz/
clock.c 25 tick(unsigned int usec)
40 drift = usec * 1000LL + (long long)uniform_random(10000000); /* 10ms */
66 __wrap_usleep(unsigned int usec)
71 tick(usec);
  /src/external/bsd/tcpdump/dist/
print-timed.c 121 int sec, usec; local
140 usec = GET_BE_S_4(tsp->tsp_time.tv_usec);
142 if (usec < 0)
146 if (sec < 0 && usec != 0) {
150 usec = 1000000 - usec;
152 ND_PRINT("%d.%06d", sec, usec);
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
time.c 45 * @param usec The applications new of "now" in micro seconds
55 int32_t usec)
64 * If the caller passes in a negative usec, its assumed to be
65 * unknown and the function will use the current time usec.
67 if (usec >= 0) {
68 context->kdc_usec_offset = usec - tv.tv_usec;
99 int32_t *usec)
106 *usec = tv.tv_usec; /* XXX */
mk_safe.c 73 krb5_us_timeofday (context, &rdata.timestamp, &rdata.usec);
77 s.safe_body.usec = &rdata.usec;
80 s.safe_body.usec = NULL;
85 outdata->usec = rdata.usec;
test_time.c 44 int32_t usec; local
55 ret = krb5_us_timeofday(context, &sec, &usec);
mk_priv.c 71 krb5_us_timeofday (context, &rdata.timestamp, &rdata.usec);
75 part.usec = &rdata.usec;
78 part.usec = NULL;
83 outdata->usec = rdata.usec;
  /src/external/bsd/wpa/dist/src/utils/
os.h 15 * os_sleep - Sleep (sec, usec)
17 * @usec: Number of microseconds to sleep
19 void os_sleep(os_time_t sec, os_time_t usec);
23 os_time_t usec; member in struct:os_time
28 os_time_t usec; member in struct:os_reltime
32 * os_get_time - Get current time (sec, usec)
39 * os_get_reltime - Get relative time (sec, usec)
51 (a->sec == b->sec && a->usec < b->usec);
59 res->usec = a->usec - b->usec
    [all...]
  /src/sys/external/bsd/drm2/include/linux/
delay.h 44 udelay(unsigned int usec)
46 DELAY(usec);
jiffies.h 87 usecs_to_jiffies(unsigned int usec)
90 .tv_sec = usec / 1000000,
91 .tv_usec = usec % 1000000,
  /src/sys/arch/arm/at91/
at91st.c 105 /* convert specified number of ticks to usec, and round up */
120 /* it will be used when usec < USEC_PER_TICK */
121 static uint32_t usec_to_timer_count(uint32_t usec)
125 /* convert specified number of usec to timer ticks, and round up */
126 result = (AT91_SCLK * usec) / 1000000;
128 if ((result * 1000000) != (usec * AT91_SCLK))
250 static void udelay(unsigned int usec);
307 /* Refine the usec field using current timer count */
350 static void udelay(unsigned int usec)
355 usec = (usec * 1000 + AT91_SCLK - 1) / AT91_SCLK + 1
    [all...]
at91tctmr.c 116 /* it will be used when usec < USEC_PER_TICK */
118 usec_to_timer_count(uint32_t usec)
122 /* convert specified number of usec to timer ticks, and round up */
123 result = (AT91_SCLK * usec) / 1000000;
125 if ((result * 1000000) != (usec * AT91_SCLK))
271 static void udelay(unsigned int usec);
297 static void udelay(unsigned int usec)
304 if (usec > 0) {
332 if (usec <= diff)
336 usec -= diff
    [all...]
  /src/external/bsd/ntp/dist/util/
precision.c 85 printf("resolution = %ld usec after %d loop%s\n",
131 long usec; local
133 usec = 0;
143 for (i = 0; i < MINLOOPS && usec < HUSECS;) {
155 usec += diff;
162 printf("precision = %ld usec after %d loop%s\n",
164 if (usec >= HUSECS) {
165 printf(" (Boy this machine is fast ! usec was %ld)\n",
166 usec);
  /src/lib/librpcsvc/
spray.x 59 unsigned int usec;
  /src/tests/include/sys/
t_types.c 50 useconds_t usec; local
72 usec = 1000000;
73 ATF_REQUIRE(usec > 0);
  /src/external/mpl/dhcp/dist/common/
dispatch.c 202 /* maximum value for usec */
216 int usec; local
262 * about the usec value, if it's zero we assume the caller didn't care.
276 usec = when->tv_usec - cur_tv.tv_usec;
278 if ((when->tv_usec != 0) && (usec < 0)) {
280 usec += USEC_MAX;
285 usec = 0;
291 usec = 0;
292 } else if (usec < 0) {
293 usec = 0
    [all...]
  /src/sys/arch/amiga/stand/bootblock/boot/
amigaio.h 56 usec; member in struct:TimerIO
  /src/sys/dev/nor/
cfi_0002.c 102 * cfi_0002_time_write_nbyte - maximum usec delay waiting for write buffer
109 u_long usec = 1UL << shft; local
110 return usec;
114 * cfi_0002_time_erase_blk - maximum usec delay waiting for erase block
121 u_long usec = 1000UL << shft; local
122 return usec;
126 * cfi_0002_time_erase_all - maximum usec delay waiting for erase chip
133 u_long usec = 1000UL << shft; local
134 return usec;
138 * cfi_0002_time_dflt - maximum usec delay to use waiting for read
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/include/test/
bench.h 19 fmt_nsecs(uint64_t usec, uint64_t iters, char *buf) {
20 uint64_t nsec = usec * 1000;
  /src/sys/kern/
subr_time_arith.c 104 long sec, usec; local
127 usec = tv->tv_usec;
129 KASSERT(usec >= 0);
130 KASSERT(usec < 1000000);
138 if (sec < 0 || (sec == 0 && usec == 0)) {
146 ticks = (((sec * 1000000) + (unsigned long)usec + (tick - 1))
150 (((unsigned long)usec + (tick - 1)) / tick) + 1;
174 * usec has great enough resolution for hz, so convert to a

Completed in 69 milliseconds

1 2 3 4 5 6 7