/external/ltp/testcases/kernel/controllers/cgroup/ |
test_6_2.c | 39 int usec; local 42 usec = atoi(argv[1]); 44 usec = DEFAULT_USEC; 47 usleep(usec);
|
/external/ltp/include/ |
tst_sig_proc.h | 20 pid_t create_sig_proc(int sig, int count, unsigned int usec);
|
/external/wpa_supplicant_8/src/ap/ |
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,
|
/system/extras/tests/schedtest/ |
schedtest.c | 37 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec; local 38 avg += usec; 40 if (usec > max) max = usec;
|
/external/ltp/lib/ |
tst_sig_proc.c | 23 pid_t create_sig_proc(int sig, int count, unsigned int usec) 32 usleep(usec);
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
clock_nanosleep02.c | 28 int sample_fn(int clk_id, long long usec) 30 struct timespec t = tst_us_to_timespec(usec);
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
nanosleep01.c | 31 int sample_fn(int clk_id, long long usec) 33 struct timespec t = tst_us_to_timespec(usec);
|
/external/ltp/testcases/kernel/syscalls/futex/ |
futex_wait05.c | 29 int sample_fn(int clk_id, long long usec) 31 struct timespec to = tst_us_to_timespec(usec);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
spray.x | 45 unsigned int usec;
|
/external/tcpdump/ |
print-timed.c | 102 long sec, usec; local 127 usec = EXTRACT_32BITS(&tsp->tsp_time.tv_usec); 129 if (usec < 0) 133 if (sec < 0 && usec != 0) { 137 usec = 1000000 - usec; 139 ND_PRINT((ndo, "%ld.%06ld", sec, usec));
|
/external/fio/ |
time.c | 27 * busy looping version for the last few usec 29 uint64_t usec_spin(unsigned int usec) 35 while ((t = utime_since_now(&start)) < usec) 41 uint64_t usec_sleep(struct thread_data *td, unsigned long usec) 48 unsigned long ts = usec; 50 if (usec < ns_granularity) { 51 t += usec_spin(usec); 55 ts = usec - ns_granularity; 71 if (ts >= usec) 74 usec -= ts [all...] |
/external/libdrm/tests/ |
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/ |
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 = etv.tv_usec - stv.tv_usec [all...] |
/device/linaro/bootloader/arm-trusted-firmware/drivers/delay_timer/ |
delay_timer.c | 20 void udelay(uint32_t usec) 29 assert(usec < UINT32_MAX / ops->clk_div); 33 total_delta = (usec * ops->clk_div) / ops->clk_mult;
|
/external/autotest/client/site_tests/platform_TraceClockMonotonic/src/ |
ftrace-clock-monotonic.c | 22 unsigned long usec; local 33 usec = ts.tv_nsec / 1000; 35 name, ts.tv_sec, usec);
|
/external/ltp/testcases/kernel/syscalls/poll/ |
poll02.c | 31 int sample_fn(int clk_id, long long usec) 33 unsigned int sleep_ms = usec / 1000;
|
/external/ltp/testcases/kernel/syscalls/pselect/ |
pselect01.c | 24 int sample_fn(int clk_id, long long usec) 27 struct timespec tv = tst_us_to_timespec(usec);
|
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/ |
delay_timer.h | 27 void udelay(uint32_t usec);
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/ |
platform.h | 23 typedef int (pn80t_platform_wait_t)(void *, long 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/ltp/testcases/kernel/syscalls/epoll_wait/ |
epoll_wait02.c | 35 int sample_fn(int clk_id, long long usec) 37 unsigned int sleep_ms = usec / 1000;
|
/external/ltp/testcases/kernel/syscalls/select/ |
select04.c | 32 static int sample_fn(int clk_id, long long usec) 34 struct timeval timeout = tst_us_to_timeval(usec);
|
/external/strace/tests/ |
print_time.c | 70 print_time_t_usec(const time_t t, const unsigned long long usec, int comment) 72 print_time_t_ex(t, usec, 999999, 6, comment);
|
/external/strace/tests-m32/ |
print_time.c | 70 print_time_t_usec(const time_t t, const unsigned long long usec, int comment) 72 print_time_t_ex(t, usec, 999999, 6, comment);
|
/external/strace/tests-mx32/ |
print_time.c | 70 print_time_t_usec(const time_t t, const unsigned long long usec, int comment) 72 print_time_t_ex(t, usec, 999999, 6, comment);
|