Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 25 of 55) sorted by relevance

123

/external/skia/bench/
DBenchSysTimer_posix.cpp29 if (-1 == clock_gettime(CLOCK_MONOTONIC, &this->fWall)) { in startWall()
35 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &this->fCpu)) { in startCpu()
43 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) { in endCpu()
52 if (-1 == clock_gettime(CLOCK_MONOTONIC, &end_wall)) { in endWall()
/external/webrtc/src/system_wrappers/source/
Devent_posix.cc141 clock_gettime(CLOCK_REALTIME, &tEnd); in Wait()
143 clock_gettime(CLOCK_MONOTONIC, &tEnd); in Wait()
251 clock_gettime(CLOCK_REALTIME, &_tCreate); in Process()
253 clock_gettime(CLOCK_MONOTONIC, &_tCreate); in Process()
Dcondition_variable_posix.cc112 clock_gettime(CLOCK_REALTIME, &ts); in SleepCS()
114 clock_gettime(CLOCK_MONOTONIC, &ts); in SleepCS()
/external/eigen/bench/btl/generic_bench/timers/
Dportable_timer.hh112 clock_gettime(m_clkid, &ts); in start()
120 clock_gettime(m_clkid, &ts); in stop()
/external/eigen/bench/
DBenchTimer.h129 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in getCpuTime()
144 clock_gettime(CLOCK_REALTIME, &ts); in getRealTime()
/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_uart.c270 clock_gettime(CLOCK_MONOTONIC, &now); in timeval_remaining()
315 clock_gettime(CLOCK_MONOTONIC, &timeout); in phDal4Nfc_uart_read()
323 clock_gettime(CLOCK_MONOTONIC, &timeout); in phDal4Nfc_uart_read()
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
DSDL_systimer.c65 clock_gettime(CLOCK_MONOTONIC,&start); in SDL_StartTicks()
76 clock_gettime(CLOCK_MONOTONIC,&now); in SDL_GetTicks()
/external/qemu/
Dqemu-thread.c75 clock_gettime(CLOCK_REALTIME, &ts); in qemu_mutex_timedlock()
143 clock_gettime(CLOCK_REALTIME, &ts); in qemu_cond_timedwait()
Dqemu-timer-common.c57 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in init_get_clock()
Dqemu-timer.h123 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock()
/external/dhcpcd/
Dcommon.c152 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in get_monotonic()
159 if (clock_gettime(posix_clock, &ts) == 0) { in get_monotonic()
/external/valgrind/main/helgrind/tests/
Dcond_timedwait_invalid.c14 assert(clock_gettime(CLOCK_REALTIME, &abstime)==0); in main()
/external/srec/portable/src/
Dptimestamp.c43 clock_gettime(CLOCK_REALTIME, &now); in PTimeStampSet()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp103 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1) in wait()
/external/webrtc/src/system_wrappers/interface/
Dtick_util.h168 clock_gettime(CLOCK_REALTIME, &ts); in Now()
170 clock_gettime(CLOCK_MONOTONIC, &ts); in Now()
/external/linux-tools-perf/
Dperf.h171 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
/external/libusb/libusb/
Dio.c1068 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &current_time); in calculate_timeout()
1655 r = usbi_backend->clock_gettime(USBI_CLOCK_REALTIME, &timeout); in libusb_wait_for_event()
1707 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &systime_ts); in handle_timeouts_locked()
2129 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &cur_ts); in libusb_get_next_timeout()
/external/chromium/third_party/libevent/
Dlibevent.gyp47 # We need rt for clock_gettime().
Dconfigure.in41 AC_CHECK_LIB(rt, clock_gettime)
139 AC_CHECK_FUNCS(gettimeofday vasprintf fcntl clock_gettime strtok_r strsep getaddrinfo getnameinfo s…
144 AC_DEFINE(DNS_USE_CPU_CLOCK_FOR_ID, 1, [Define if clock_gettime is available in libc])
Dconfig.h.in3 /* Define if clock_gettime is available in libc */
9 /* Define to 1 if you have the `clock_gettime' function. */
/external/chromium/base/
Dtime_posix.cc172 if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) { in Now()
/external/openssl/crypto/rand/
Drand_unix.c210 clock_gettime (CLOCK_REALTIME, &ts); in RAND_poll()
/external/valgrind/main/memcheck/tests/linux/
Dtimerfd-syscall.c108 if (clock_gettime((clockid_t) clockid, &tp)) in getustime()
/external/dbus/dbus/
Ddbus-sysdeps-pthread.c278 clock_gettime (CLOCK_MONOTONIC,&monotonic_timer); in _dbus_pthread_condvar_wait_timeout()
/external/libusb/
Dconfigure.ac22 AC_CHECK_LIB(rt, clock_gettime)

123