/external/ltp/testcases/kernel/controllers/cgroup/ |
H A D | test_6_2.c | 39 int usec; local 42 usec = atoi(argv[1]); 44 usec = DEFAULT_USEC; 47 usleep(usec);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | bss_load.c | 22 unsigned int sec, usec; local 37 usec = (hapd->bss_load_update_timeout % 1000) * 1024; 38 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, 47 unsigned int sec, usec; local 55 usec = (hapd->bss_load_update_timeout % 1000) * 1024; 56 eloop_register_timeout(sec, usec, update_channel_utilization, hapd,
|
/external/wpa_supplicant_8/src/ap/ |
H A D | bss_load.c | 22 unsigned int sec, usec; local 37 usec = (hapd->bss_load_update_timeout % 1000) * 1024; 38 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, 47 unsigned int sec, usec; local 55 usec = (hapd->bss_load_update_timeout % 1000) * 1024; 56 eloop_register_timeout(sec, usec, update_channel_utilization, hapd,
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | bss_load.c | 22 unsigned int sec, usec; local 37 usec = (hapd->bss_load_update_timeout % 1000) * 1024; 38 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, 47 unsigned int sec, usec; local 55 usec = (hapd->bss_load_update_timeout % 1000) * 1024; 56 eloop_register_timeout(sec, usec, update_channel_utilization, hapd,
|
/external/fio/ |
H A D | time.c | 10 * busy looping version for the last few usec 12 uint64_t usec_spin(unsigned int usec) argument 18 while ((t = utime_since_now(&start)) < usec) 24 uint64_t usec_sleep(struct thread_data *td, unsigned long usec) argument 31 unsigned long ts = usec; 33 if (usec < ns_granularity) { 34 t += usec_spin(usec); 38 ts = usec - ns_granularity; 54 if (ts >= usec) 57 usec [all...] |
H A D | gettime.c | 386 long sec, usec; local 390 usec = e->tv_usec - s->tv_usec; 391 if (sec > 0 && usec < 0) { 393 usec += 1000000; 399 if (sec < 0 || (sec == 0 && usec < 0)) 402 ret = sec * 1000000ULL + usec; 417 long sec, usec, ret; local 420 usec = e->tv_usec - s->tv_usec; 421 if (sec > 0 && usec < 0) { 423 usec [all...] |
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/ |
H A D | platform.h | 23 typedef int (pn80t_platform_wait_t)(void *, long usec);
|
/external/tcpdump/ |
H A D | print-timed.c | 99 long sec, usec; local 124 usec = EXTRACT_32BITS(&tsp->tsp_time.tv_usec); 126 if (usec < 0) 130 if (sec < 0 && usec != 0) { 134 usec = 1000000 - usec; 136 ND_PRINT((ndo, "%ld.%06ld", sec, usec));
|
/external/libdrm/tests/ |
H A D | drmsl.c | 68 double usec; local 98 usec = (double)(stop.tv_sec * 1000000 + stop.tv_usec 101 printf("%0.2f microseconds for list length %d\n", usec, size); 106 return usec; 127 double usec, usec2, usec3, usec4; local 158 usec = do_time(100, 10000); 161 1000.0/100.0, usec2 / usec); 165 10000.0/100.0, usec3 / usec); 169 100000.0/100.0, usec4 / usec);
|
/external/ltp/testcases/kernel/io/aio/aio01/ |
H A D | aio01.c | 99 int i, j, sec, usec; local 147 usec = etv.tv_usec - stv.tv_usec; 148 if (usec < 0) { 149 usec += 1000000; 153 nr, sec, usec); 178 usec = etv.tv_usec - stv.tv_usec; 179 if (usec < 0) { 180 usec += 1000000; 184 nr, sec, usec); 209 usec [all...] |
/external/autotest/client/site_tests/platform_TraceClockMonotonic/src/ |
H A D | ftrace-clock-monotonic.c | 22 unsigned long usec; local 33 usec = ts.tv_nsec / 1000; 35 name, ts.tv_sec, usec);
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | 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 [all...] |
H A D | os_win32.c | 17 void os_sleep(os_time_t sec, os_time_t usec) argument 21 if (usec) 22 Sleep(usec / 1000); 45 t->usec = (os_time_t) (tt % 1000000); 57 t->usec = now.usec;
|
/external/wpa_supplicant_8/src/utils/ |
H A D | 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 [all...] |
H A D | os_win32.c | 17 void os_sleep(os_time_t sec, os_time_t usec) argument 21 if (usec) 22 Sleep(usec / 1000); 45 t->usec = (os_time_t) (tt % 1000000); 57 t->usec = now.usec;
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | 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 [all...] |
H A D | os_win32.c | 17 void os_sleep(os_time_t sec, os_time_t usec) argument 21 if (usec) 22 Sleep(usec / 1000); 45 t->usec = (os_time_t) (tt % 1000000); 57 t->usec = now.usec;
|
/external/valgrind/none/tests/s390x/ |
H A D | test.h | 56 static inline void mysleep(long sec, long usec) argument 61 tv.tv_usec = usec;
|
/external/autotest/client/common_lib/ |
H A D | smogcheck_util.py | 70 usec: an int, difference between end and start in microseconds. 73 usec = 1000000 * t.seconds + t.microseconds 74 logging.info('Elapsed time = %d usec', usec) 75 return usec
|
H A D | smogcheck_ttci.py | 194 usec: an integer. 197 usec = 1000000 * t.seconds + t.microseconds 198 logging.info('Elapsed time = %d usec', usec) 199 return usec
|
/external/libpcap/pcap/ |
H A D | nflog.h | 68 u_int64_t usec; member in struct:nflog_timestamp
|
/external/libvncserver/examples/ |
H A D | camera.c | 133 long usec; local 151 usec = server->deferUpdateTime*1000; 152 rfbProcessEvents(server,usec);
|
/external/ipsec-tools/src/libipsec/ |
H A D | policy_token.l | 86 usec {dot}{digit}{1,6}
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | scan.h | 13 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 15 int sec, int usec);
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
H A D | readahead02.c | 198 * @usec: returns how many microsecond it took to go over fsize bytes 202 unsigned long *read_bytes, long *usec, 283 *usec = time_end_usec - time_start_usec; 292 long usec, usec_ra; local 298 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); 306 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); 323 tst_resm(TINFO, "read_testfile(0) took: %ld usec", usec); 324 tst_resm(TINFO, "read_testfile(1) took: %ld usec", usec_ra); 201 read_testfile(int do_readahead, const char *fname, size_t fsize, unsigned long *read_bytes, long *usec, unsigned long *cached) argument
|