Home
last modified time | relevance | path

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

/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.c198 #if defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC) in get_monotonic()
203 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in get_monotonic()
204 posix_clock = CLOCK_MONOTONIC; in get_monotonic()
/external/qemu/distrib/sdl-1.2.12/src/timer/unix/
DSDL_systimer.c65 clock_gettime(CLOCK_MONOTONIC,&start); in SDL_StartTicks()
76 clock_gettime(CLOCK_MONOTONIC,&now); in SDL_GetTicks()
/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()
Devdns.c1050 #ifdef CLOCK_MONOTONIC in default_transaction_id_fn()
1051 if (clock_gettime(CLOCK_MONOTONIC, &ts) != -1) in default_transaction_id_fn()
1052 clkid = CLOCK_MONOTONIC; in default_transaction_id_fn()
DChangeLog63 o Detect CLOCK_MONOTONIC at runtime for evdns; anonymous bug report
/external/strace/
Dtime.c377 #ifdef CLOCK_MONOTONIC
378 { CLOCK_MONOTONIC, "CLOCK_MONOTONIC" },
/external/chromium/base/
Dtime_posix.cc157 if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) { in Now()
Dlogging.cc153 clock_gettime(CLOCK_MONOTONIC, &ts); in TickCount()
/external/blktrace/btreplay/
Dbtreplay.c343 use_clock_gettime = clock_getres(CLOCK_MONOTONIC, NULL) == 0; in gettime()
349 clock_settime(CLOCK_MONOTONIC, &ts); in gettime()
355 clock_gettime(CLOCK_MONOTONIC, &ts); in gettime()
/external/bluetooth/bluez/audio/
Dpcm_bluetooth.c187 clock_gettime(CLOCK_MONOTONIC, &start); in playback_hw_thread()
200 clock_gettime(CLOCK_MONOTONIC, &start); in playback_hw_thread()
204 clock_gettime(CLOCK_MONOTONIC, &cur); in playback_hw_thread()
231 clock_gettime(CLOCK_MONOTONIC, &start); in playback_hw_thread()
Dliba2dp.c157 clock_gettime(CLOCK_MONOTONIC, &now); in get_microseconds()
/external/bluetooth/glib/gthread/
Dgthread-posix.c152 posix_clock = CLOCK_MONOTONIC; in g_thread_impl_init()
/external/qemu/
Dvl.c802 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in init_get_clock()
815 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock()
Dvl-android.c726 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in init_get_clock()
739 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock()
/external/bluetooth/glib/
DChangeLog.pre-2-141897 * configure.in: Check for CLOCK_MONOTONIC.
Dconfigure.in2311 #if !(defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 && defined(CLOCK_MONOTONIC))