/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);
|
/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/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/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,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
spray.h | 20 u_int usec; member in struct:spraytimeval
|
/external/libvncserver/examples/ |
camera.c | 133 long usec; local 151 usec = server->deferUpdateTime*1000; 152 rfbProcessEvents(server,usec);
|
/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);
|
drmstat.c | 53 static double usec(struct timeval *end, struct timeval *start) function 379 wt = usec(&lock_end, &lock_start); 389 if (output) printf( "%.2f uSec, %d fast\n", wt, fast); 392 printf( "Average wait time = %.2f usec, %d fast\n", 393 usec(&loop_end, &loop_start) / counter, fast);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
14-1.c | 180 unsigned long long usec_start, usec; local 217 usec = current_time_usec(); 218 } while ((usec - usec_start) < RUN_TIME_USEC); 221 output("Test finished after %lu usec.\n", usec - usec_start);
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
address_space_randomization.cc | 59 uint32_t usec; local 64 usec = static_cast<uint32_t>(st.wMilliseconds * 1000); 69 usec = static_cast<uint32_t>(tv.tv_usec); 72 seed ^= usec;
|
/system/core/liblog/include/log/ |
log_time.h | 157 uint64_t usec() const { function in struct:log_time
|
/external/fio/engines/ |
posixaio.c | 147 unsigned long long usec; local 149 usec = (t->tv_sec * 1000000) + (t->tv_nsec / 1000); 150 if (ts_utime_since_now(&start) > usec)
|
/external/iptables/iptables/ |
xshared.c | 338 unsigned int usec; local 348 ret = sscanf(arg, "%u", &usec); 350 if (usec > 999999) 352 "too long usec wait %u > 999999 usec", 353 usec); 356 wait_interval->tv_usec = usec;
|
/external/libevent/test/ |
bench_httpclient.c | 182 long long usec; local 207 usec = total_time.tv_sec * (long long)1000000 + total_time.tv_usec; 232 (double)(usec/1000) / total_n_handled,
|
/external/libpcap/pcap/ |
nflog.h | 68 u_int64_t usec; member in struct:nflog_timestamp
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
4-3.c | 290 unsigned long long usec_start, usec; local 330 usec = current_time_usec(); 331 } while ((usec - usec_start) < RUN_TIME_USEC); 333 output("Test finished after %lu usec.\n", usec - usec_start);
|
/external/fio/crc/ |
test.c | 397 uint64_t usec; local 414 usec = utime_since_now(&tv); 416 if (usec) { 417 mb_sec = (double) mb / (double) usec;
|
/external/libevent/ |
evutil_time.c | 140 /* Some systems don't like to usleep more than 999999 usec */ 362 ev_uint64_t abstime, usec; local 371 usec = (abstime * base->mach_timebase_units.numer) 373 tp->tv_sec = usec / 1000000; 374 tp->tv_usec = usec % 1000000;
|
/external/libnl/include/linux-private/linux/netfilter/ |
nfnetlink_log.h | 36 __aligned_be64 usec; member in struct:nfulnl_msg_packet_timestamp
|
/external/llvm/include/llvm/Support/ |
TimeValue.h | 233 uint64_t usec() const { function in class:llvm::sys::TimeValue 316 void usec( int64_t microseconds ) { function in class:llvm::sys::TimeValue
|
/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...] |
/external/ltp/testcases/kernel/syscalls/readahead/ |
readahead02.c | 198 * @usec: returns how many microsecond it took to go over fsize bytes 202 unsigned long *read_bytes, long *usec, 280 *usec = time_end_usec - time_start_usec; 288 long usec, usec_ra; local 294 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); 302 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); 319 tst_resm(TINFO, "read_testfile(0) took: %ld usec", usec); 320 tst_resm(TINFO, "read_testfile(1) took: %ld usec", usec_ra);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
TimeValue.h | 224 uint64_t usec() const { function in class:llvm::sys::TimeValue 315 void usec( int64_t microseconds ) { function in class:llvm::sys::TimeValue
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
TimeValue.h | 233 uint64_t usec() const { function in class:llvm::sys::TimeValue 316 void usec( int64_t microseconds ) { function in class:llvm::sys::TimeValue
|
/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));
|