Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 25 of 59) sorted by relevance

123

/external/skia/bench/
DBenchSysTimer_posix.cpp29 if (-1 == clock_gettime(CLOCK_MONOTONIC, &this->fWall)) { in startWall()
52 if (-1 == clock_gettime(CLOCK_MONOTONIC, &end_wall)) { in endWall()
/external/kernel-headers/original/linux/
Dtime.h209 #define CLOCK_MONOTONIC 1 macro
218 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
219 #define CLOCKS_MONO CLOCK_MONOTONIC
/external/dhcpcd/
Dcommon.c147 #if defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC) in get_monotonic()
152 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in get_monotonic()
153 posix_clock = CLOCK_MONOTONIC; in get_monotonic()
/external/webrtc/src/system_wrappers/source/
Devent_posix.cc76 result = pthread_condattr_setclock(&condAttr, CLOCK_MONOTONIC); in Construct()
143 clock_gettime(CLOCK_MONOTONIC, &tEnd); in Wait()
253 clock_gettime(CLOCK_MONOTONIC, &_tCreate); in Process()
Dcondition_variable_posix.cc58 result = pthread_condattr_setclock(&condAttr, CLOCK_MONOTONIC); in Construct()
114 clock_gettime(CLOCK_MONOTONIC, &ts); in SleepCS()
/external/chromium_org/base/synchronization/
Dcondition_variable_posix.cc33 pthread_condattr_setclock(&attrs, CLOCK_MONOTONIC); in ConditionVariable()
85 clock_gettime(CLOCK_MONOTONIC, &now); in TimedWait()
/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-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/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp103 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1) in wait()
/external/chromium_org/v8/src/platform/
Dcondition-variable.cc51 result = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in ConditionVariable()
114 result = clock_gettime(CLOCK_MONOTONIC, &ts); in WaitFor()
/external/chromium_org/media/cdm/ppapi/
Dcdm_logging.cc76 clock_gettime(CLOCK_MONOTONIC, &ts); in TickCount()
/external/linux-tools-perf/
Dperf.h171 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
/external/chromium_org/third_party/libevent/
Devent.c126 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in detect_monotonic()
129 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) in detect_monotonic()
142 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in gettime()
146 if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) in gettime()
/external/chromium/third_party/libevent/
Devent.c126 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in detect_monotonic()
129 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) in detect_monotonic()
142 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in gettime()
146 if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) in gettime()
/external/chromium_org/ui/base/gtk/
Devent_synthesis_gtk.cc22 clock_gettime(CLOCK_MONOTONIC, &ts); in SynthesizeKeyEvent()
/external/valgrind/main/drd/tests/
Dmonitor_example.cpp90 pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC); in Monitor()
/external/chromium_org/ui/gl/
Dsync_control_vsync_provider.cc66 clock_gettime(CLOCK_MONOTONIC, &monotonic_time); in GetVSyncParameters()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dtimeutils.cc66 clock_gettime(CLOCK_MONOTONIC, &ts); in TimeNanos()
/external/chromium/base/
Dtime_posix.cc172 if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) { in Now()
/external/bluetooth/bluedroid/hci/src/
Dlpm.c146 status = timer_create(CLOCK_MONOTONIC, &se, &bt_lpm_cb.timer_id); in lpm_start_transport_idle_timer()
/external/valgrind/main/memcheck/tests/linux/
Dtimerfd-syscall.c183 { CLOCK_MONOTONIC, "CLOCK MONOTONIC" }, in main()
/external/bluetooth/bluedroid/btif/src/
Dbtif_hf.c931 clock_gettime(CLOCK_MONOTONIC, &btif_hf_cb.call_end_timestamp); in phone_state_change()
1107 clock_gettime(CLOCK_MONOTONIC, &now); in btif_hf_call_terminated_recently()
/external/chromium_org/ui/base/test/
Dui_controls_gtk.cc23 clock_gettime(CLOCK_MONOTONIC, &ts); in XTimeNow()

123