/system/extras/micro_bench/ |
micro_bench.c | 32 tv2->tv_sec -= tv1->tv_sec; 36 tv2->tv_sec -= 1; 51 printf("sleep(%d) took %ld.%06ld seconds\n", delay, tv2.tv_sec, tv2.tv_usec); 70 printf("cpu took %ld.%06ld seconds\n", tv2.tv_sec, tv2.tv_usec); 76 unsigned long us = delta->tv_sec * 1000000 + delta->tv_usec; 98 printf("memset %dx%d bytes took %ld.%06ld seconds (%f MB/s)\n", c, sz, tv2.tv_sec, tv2.tv_usec, mb_sec(c*sz, &tv2)); 123 printf("memcpy %dx%d bytes took %ld.%06ld seconds (%f MB/s)\n", c, sz, tv2.tv_sec, tv2.tv_usec, mb_sec(c*sz, &tv2)); 149 printf("read %dx%d bytes took %ld.%06ld seconds (%f MB/s)\n", c, sz, tv2.tv_sec, tv2.tv_usec, mb_sec(c*sz, &tv2));
|
/bionic/libc/netbsd/isc/ |
ev_timers.c | 73 x.tv_sec = sec; 82 x.tv_sec = addend1.tv_sec + addend2.tv_sec; 85 x.tv_sec++; 95 x.tv_sec = minuend.tv_sec - subtrahend.tv_sec; 100 x.tv_sec--; 107 long x = a.tv_sec - b.tv_sec [all...] |
/external/strace/ |
util.c | 161 tv->tv_sec = a; 170 return a->tv_sec || a->tv_usec; 177 if (a->tv_sec < b->tv_sec 178 || (a->tv_sec == b->tv_sec && a->tv_usec < b->tv_usec)) 180 if (a->tv_sec > b->tv_sec 181 || (a->tv_sec == b->tv_sec && a->tv_usec > b->tv_usec) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
stat.h | 91 # define st_atime st_atim.tv_sec /* Backward compatibility. */ 92 # define st_mtime st_mtim.tv_sec 93 # define st_ctime st_ctim.tv_sec 152 # define st_atime st_atim.tv_sec /* Backward compatibility. */ 153 # define st_mtime st_mtim.tv_sec 154 # define st_ctime st_ctim.tv_sec
|
time.h | 71 __time_t tv_sec; /* Seconds. */ member in struct:timeval
|
/bionic/libc/kernel/common/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/development/ndk/platforms/android-3/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
TimeUtils.cpp | 49 long long iDiff = (now.tv_sec * 1000LL) + now.tv_nsec/1000000LL; 56 long long iDiff = (now.tv_sec * 1000LL) + now.tv_usec/1000LL;
|
/external/dhcpcd/ |
common.h | 39 #define timeval_to_double(tv) ((tv)->tv_sec * 1.0 + (tv)->tv_usec * 1.0e-6) 43 (tvp)->tv_sec++; \
|
/frameworks/media/libvideoeditor/osal/src/ |
M4OSA_Clock.c | 78 u32_time_lo = (tv.tv_sec & 0xFFFF) * timescale; 79 u32_time_hi = (((tv.tv_sec >> 16) & 0xFFFF) * timescale) + ((u32_time_lo >> 16) & 0xFFFF);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
time.h | 10 time_t tv_sec; /* seconds */ member in struct:timespec 16 time_t tv_sec; /* seconds */ member in struct:timeval
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
time.h | 20 time_t tv_sec; member in struct:timespec 26 time_t tv_sec; member in struct:timeval
|
/bionic/libc/unistd/ |
ftime.c | 38 tb->time = tv.tv_sec;
|
/external/valgrind/main/memcheck/tests/ |
post-syscall.c | 23 req.tv_sec = 2;
|
linux-syscalls-2007.c | 40 struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 }; 62 struct timespec ts2[2] = { [0].tv_sec = 10000000, [1].tv_sec = 20000000 };
|
/external/valgrind/main/perf/ |
sarp.c | 35 req.tv_sec = 0;
|
/external/webrtc/src/system_wrappers/source/ |
condition_variable_linux.cc | 119 ts.tv_sec = tv.tv_sec; 123 ts.tv_sec += maxTimeInMS / MILLISECONDS_PER_SECOND; 129 ts.tv_sec += ts.tv_nsec / NANOSECONDS_PER_SECOND;
|