/external/skia/tools/timer/ |
SysTimer_posix.cpp | 9 static double interval_in_ms(timespec start_clock, timespec end_clock) 24 timespec none = {0, 0}; 30 timespec none = {0, 0}; 36 timespec end_cpu; 38 timespec none = {0, 0}; 45 timespec end_wall; 47 timespec none = {0, 0};
|
SysTimer_posix.h | 19 timespec fCpu; 20 timespec fWall;
|
/external/fio/os/windows/ |
posix.h | 7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
|
/external/jemalloc/test/include/test/ |
timer.h | 11 struct timespec tv0; 12 struct timespec tv1;
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
eventlib.h | 60 struct timespec, struct timespec)); 166 struct timespec evConsTime __P((time_t sec, long nsec)); 167 struct timespec evAddTime __P((struct timespec, struct timespec)); 168 struct timespec evSubTime __P((struct timespec, struct timespec)); 169 struct timespec evNowTime __P((void)) [all...] |
/system/extras/tests/timetest/ |
timetest.c | 15 struct timespec t; 26 static struct timespec ts_sub(struct timespec a, struct timespec b) 28 struct timespec r; 42 static struct timespec ts_min(struct timespec a, struct timespec b) 50 static struct timespec ts_max(struct timespec a, struct timespec b [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
ev_timers.c | 58 static void idle_timeout(evContext, void *, struct timespec, struct timespec); 65 struct timespec lastTouched; 66 struct timespec max_idle; 73 struct timespec 75 struct timespec x; 82 struct timespec 83 evAddTime(struct timespec addend1, struct timespec addend2) { 84 struct timespec x [all...] |
/bionic/libc/bionic/ |
poll.cpp | 37 extern "C" int __ppoll(pollfd*, unsigned int, timespec*, const kernel_sigset_t*, size_t); 38 extern "C" int __pselect6(int, fd_set*, fd_set*, fd_set*, timespec*, void*); 41 timespec ts; 42 timespec* ts_ptr = NULL; 50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { 51 timespec mutable_ts; 52 timespec* mutable_ts_ptr = NULL; 69 timespec ts; 70 timespec* ts_ptr = NULL; 86 const timespec* ts, const sigset_t* ss) [all...] |
clock_nanosleep.cpp | 33 extern "C" int ___clock_nanosleep(clockid_t, int, const timespec*, timespec*); 35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) {
|
/system/bt/gki/ulinux/ |
gki_ulinux.c | 66 struct timespec timespec; local 67 clock_gettime(CLOCK_BOOTTIME, ×pec); 68 return (timespec.tv_sec * 1000) + (timespec.tv_nsec / 1000000); 73 struct timespec delay;
|
/external/vboot_reference/tests/ |
timer_utils.h | 14 struct timespec start_time; 15 struct timespec end_time;
|
/frameworks/base/include/androidfw/ |
ZipUtils.h | 65 * Utility function to convert ZIP's time format to a timespec struct. 67 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { 69 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 70 timespec->tm_mon = (date >> 5) & 0x0F; 71 timespec->tm_mday = date & 0x1F; 73 timespec->tm_hour = (when >> 11) & 0x1F; 74 timespec->tm_min = (when >> 5) & 0x3F; 75 timespec->tm_sec = (when & 0x1F) << 1;
|
/development/ndk/platforms/android-3/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
clock_gettime.c | 8 struct timespec ts;
|
/external/kernel-headers/original/uapi/asm-generic/ |
sockios.h | 11 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
|
/external/kernel-headers/original/uapi/linux/ |
android_alarm.h | 55 #define ANDROID_ALARM_SET(type) ALARM_IOW(2, type, struct timespec) 56 #define ANDROID_ALARM_SET_AND_WAIT(type) ALARM_IOW(3, type, struct timespec) 57 #define ANDROID_ALARM_GET_TIME(type) ALARM_IOW(4, type, struct timespec) 58 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/external/valgrind/helgrind/tests/ |
cond_timedwait_test.c | 9 struct timespec now;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/asm-generic/ |
sockios.h | 11 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/ |
sockios.h | 11 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
android_alarm.h | 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec) 44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
|