HomeSort by relevance Sort by last modified time
    Searched refs:usec (Results 1 - 25 of 172) sorted by null

1 2 3 4 5 6 7

  /system/extras/tests/schedtest/
schedtest.c 36 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec; local
37 avg += usec;
39 if (usec > max) max = usec;
  /external/fio/
time.c 10 * busy looping version for the last few usec
12 void usec_spin(unsigned int usec)
17 while (utime_since_now(&start) < usec)
21 void usec_sleep(struct thread_data *td, unsigned long usec)
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 -= ts
    [all...]
gettime.c 382 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 += 1000000
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/rpcsvc/
spray.x 45 unsigned int usec;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/
spray.x 45 unsigned int usec;
  /external/tcpdump/
print-timed.c 51 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/wpa_supplicant_8/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...]
  /external/valgrind/main/none/tests/s390x/
test.h 56 static inline void mysleep(long sec, long usec)
61 tv.tv_usec = usec;
  /external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
popup.js 28 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/lldb/test/functionalities/stop-hook/multiple_threads/
main.cpp 52 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/
main.cpp 55 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/
main.cpp 60 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/
main.cpp 68 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/
main.cpp 58 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/
nflog.h 68 u_int64_t usec; member in struct:nflog_timestamp
  /external/chromium_org/third_party/openssl/openssl/crypto/rand/
rand_unix.c 278 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/openssl/crypto/rand/
rand_unix.c 278 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/
scan.h 13 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/
FastTimes.c 89 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/
main.cpp 63 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/
main.cpp 63 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/
main.cpp 63 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/
event_listener.cc 31 // 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/
time-record-T.exp 67 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/
policy_token.l 86 usec {dot}{digit}{1,6}

Completed in 1648 milliseconds

1 2 3 4 5 6 7