Searched refs:usec (Results 1 - 25 of 125) sorted by relevance

12345

/external/fio/
H A Dtime.c10 * busy looping version for the last few usec
12 void usec_spin(unsigned int usec) argument
17 while (utime_since_now(&start) < usec)
21 void usec_sleep(struct thread_data *td, unsigned long usec) argument
27 unsigned long ts = usec;
29 if (usec < ns_granularity) {
30 usec_spin(usec);
34 ts = usec - ns_granularity;
49 if (ts >= usec)
52 usec
[all...]
H A Dgettime.c382 long sec, usec; local
386 usec = e->tv_usec - s->tv_usec;
387 if (sec > 0 && usec < 0) {
389 usec += 1000000;
395 if (sec < 0 || (sec == 0 && usec < 0))
398 ret = sec * 1000000ULL + usec;
413 long sec, usec, ret; local
416 usec = e->tv_usec - s->tv_usec;
417 if (sec > 0 && usec < 0) {
419 usec
[all...]
/external/tcpdump/
H A Dprint-timed.c51 long sec, usec; local
90 usec = EXTRACT_32BITS(&tsp->tsp_time.tv_usec);
91 if (usec < 0)
95 if (sec < 0 && usec != 0) {
99 usec = 1000000 - usec;
101 printf("%ld.%06ld", sec, usec);
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
H A Dpopup.js28 var usec = Math.round(timer.microseconds() / response.counter);
29 setChildTextNode("resultsRequest", usec + "usec");
50 var usec = Math.round(timer.microseconds() / response.counter);
51 setChildTextNode("resultsConnect", usec + "usec");
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dos.h15 * 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
[all...]
H A Dos_win32.c16 void os_sleep(os_time_t sec, os_time_t usec) argument
20 if (usec)
21 Sleep(usec / 1000);
44 t->usec = (os_time_t) (tt % 1000000);
56 t->usec = now.usec;
/external/wpa_supplicant_8/src/utils/
H A Dos.h15 * 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
[all...]
H A Dos_win32.c16 void os_sleep(os_time_t sec, os_time_t usec) argument
20 if (usec)
21 Sleep(usec / 1000);
44 t->usec = (os_time_t) (tt % 1000000);
56 t->usec = now.usec;
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dos.h15 * 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
[all...]
/external/valgrind/main/none/tests/s390x/
H A Dtest.h56 static inline void mysleep(long sec, long usec) argument
61 tv.tv_usec = usec;
/external/lldb/test/functionalities/stop-hook/multiple_threads/
H A Dmain.cpp52 int usec = ::rand() % 3000000; local
53 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
54 ::usleep (usec);
/external/lldb/test/functionalities/watchpoint/multiple_threads/
H A Dmain.cpp55 int usec = ::rand() % 3000000; local
56 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
57 ::usleep (usec);
/external/lldb/test/functionalities/watchpoint/hello_watchlocation/
H A Dmain.cpp60 int usec = ::rand() % 3000000; local
61 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
62 ::usleep (usec);
/external/lldb/test/functionalities/watchpoint/watchpoint_set_command/
H A Dmain.cpp68 int usec = ::rand() % 3000000; local
69 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
70 ::usleep (usec);
/external/lldb/test/python_api/watchpoint/watchlocation/
H A Dmain.cpp58 int usec = ::rand() % 3000000; local
59 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
60 ::usleep (usec);
/external/libpcap/pcap/
H A Dnflog.h68 u_int64_t usec; member in struct:nflog_timestamp
/external/openssl/crypto/rand/
H A Drand_unix.c278 int usec = 10*1000; /* spend 10ms on each file */ local
311 if (poll(&pset, 1, usec / 1000) < 0)
312 usec = 0;
322 t.tv_usec = usec;
336 usec = t.tv_usec;
341 usec = 0;
364 if (usec == 10*1000)
365 usec = 0;
368 (errno == EINTR || errno == EAGAIN)) && usec != 0 && n < ENTROPY_NEEDED);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dscan.h13 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
15 int sec, int usec);
/external/qemu/distrib/sdl-1.2.15/src/timer/macos/
H A DFastTimes.c89 static double gScaleUSec = 1.0 / 1000.0; /* 1 / ( nsec / usec) */
182 UInt64 usec; local
191 usec = (double) WideTo64bit(wide) * gScaleUSec + 0.5;
196 usec = (double) WideTo64bit(wide) * gScaleUSec + 0.5;
201 usec = (double) WideTo64bit(wide) * gScaleUSec + 0.5;
206 usec = (double) RTCToNano(wide) * gScaleUSec + 0.5;
213 usec = WideTo64bit(wide);
216 return(usec);
/external/lldb/test/python_api/lldbutil/iter/
H A Dmain.cpp63 int usec = ::rand() % 3000000; local
64 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
65 ::usleep (usec);
/external/lldb/test/python_api/lldbutil/process/
H A Dmain.cpp63 int usec = ::rand() % 3000000; local
64 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
65 ::usleep (usec);
/external/lldb/test/python_api/module_section/
H A Dmain.cpp63 int usec = ::rand() % 3000000; local
64 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec);
65 ::usleep (usec);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Devent_listener.cc31 // Truncate to usec resolution.
57 uint64_t usec = usec_since_epoch(); local
58 usec += ((int64_t)ms_timeout * 1000);
60 timeout->tv_nsec = (usec % 1000000) * 1000;
61 timeout->tv_sec = (usec / 1000000);
/external/ltrace/testsuite/ltrace.minor/
H A Dtime-record-T.exp67 if [ regexp {nanosleep.*<([0-9]+\.[0-9]+)>} $line match usec] then {
68 verbose "nanosleep_usec = $nanosleep_usec, usec = $usec"
70 if { $usec * 1000 >= $nanosleep_usec} then {
73 fail "Spent $usec inside call, but PUT call nanosleep($nanosleep_usec)!"
/external/ipsec-tools/src/libipsec/
H A Dpolicy_token.l86 usec {dot}{digit}{1,6}

Completed in 521 milliseconds

12345