Home
last modified time | relevance | path

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

123

/system/media/audio_utils/include/audio_utils/
Dclock_nanosleep.h42 #ifndef CLOCK_MONOTONIC
44 #define CLOCK_MONOTONIC 0 macro
/system/core/libbacktrace/
DThreadEntry.cpp39 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in ThreadEntry()
101 clock_gettime(CLOCK_MONOTONIC, &ts); in Wait()
/system/core/libutils/include/utils/
DCondition.h103 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in Condition()
123 clock_gettime(CLOCK_MONOTONIC, &ts); in waitRelative()
/system/core/liblog/tests/
Dlog_time_test.cpp25 clock_gettime(CLOCK_MONOTONIC, &ts); in TEST()
Dlog_read_test.cpp43 clock_gettime(CLOCK_MONOTONIC, &ts); in TEST()
Dliblog_benchmark.cpp125 do_clock_overhead(state, CLOCK_MONOTONIC); in BM_time_clock_gettime_MONOTONIC()
132 syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &t); in BM_time_clock_gettime_MONOTONIC_syscall()
150 clock_getres(CLOCK_MONOTONIC, &t); in BM_time_clock_getres_MONOTONIC()
158 syscall(__NR_clock_getres, CLOCK_MONOTONIC, &t); in BM_time_clock_getres_MONOTONIC_syscall()
1004 log_time now(CLOCK_MONOTONIC); in BM_lookupEventTagNum_logd_new()
Dliblog_test.cpp175 log_time ts(CLOCK_MONOTONIC); in TEST()
202 log_time ts1(CLOCK_MONOTONIC); in TEST()
326 log_time ts(CLOCK_MONOTONIC); in TEST()
632 signal_time = log_time(CLOCK_MONOTONIC); in caught_blocking_signal()
743 } while (!signaled || (log_time(CLOCK_MONOTONIC) < signal_time)); in TEST()
793 signal_time = log_time(CLOCK_MONOTONIC); in running_thread()
901 } while (!signaled || (log_time(CLOCK_MONOTONIC) < signal_time)); in TEST()
1757 log_time ts(CLOCK_MONOTONIC); in TEST()
1793 ts = log_time(CLOCK_MONOTONIC); in TEST()
1815 ts = log_time(CLOCK_MONOTONIC); in TEST()
[all …]
/system/extras/tests/lib/testUtil/
DtestUtil.c267 clock_gettime(CLOCK_MONOTONIC, &start); in testDelay()
271 clock_gettime(CLOCK_MONOTONIC, &current); in testDelay()
292 clock_gettime(CLOCK_MONOTONIC, &start); in testDelaySpin()
296 clock_gettime(CLOCK_MONOTONIC, &current); in testDelaySpin()
/system/chre/platform/linux/
Dsystem_time.cc30 if (clock_gettime(CLOCK_MONOTONIC, &timeNow)) { in getMonotonicTime()
Dsystem_timer.cc66 int ret = timer_create(CLOCK_MONOTONIC, &sigevt, &mTimerId); in init()
/system/extras/tests/timetest/
Dtimetest.c17 if(clock_gettime(CLOCK_MONOTONIC, &t)) { in nanotime()
64 int clock_id = CLOCK_MONOTONIC; in main()
/system/core/libutils/
DTimers.cpp30 CLOCK_MONOTONIC, in systemTime()
/system/extras/simpleperf/runtest/
Drun_and_sleep.cpp11 clock_gettime(CLOCK_MONOTONIC, &ts); in GetSystemClock()
/system/security/keystore/
Dkeystore_keymaster_enforcement.h35 int err = clock_gettime(CLOCK_MONOTONIC, &tp); in get_current_time()
/system/extras/tests/pftest/
Dpftest.c41 clock_gettime(CLOCK_MONOTONIC, &t); in stop_watch()
/system/core/logd/
DLogKlog.cpp200 log_time LogKlog::correction = (log_time(CLOCK_REALTIME) < log_time(CLOCK_MONOTONIC))
202 : (log_time(CLOCK_REALTIME) - log_time(CLOCK_MONOTONIC));
209 signature(CLOCK_MONOTONIC), in LogKlog()
330 log_time mono(CLOCK_MONOTONIC); in sniffTime()
360 now = log_time(CLOCK_MONOTONIC); in sniffTime()
DLogBuffer.h65 log_time cpu(CLOCK_MONOTONIC); in isMonotonic()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp66 clock_gettime(CLOCK_MONOTONIC, &ts); in GetSystemClock()
/system/connectivity/wificond/tests/
Dshell_utils.cpp52 clock_gettime(CLOCK_MONOTONIC, &ts); in GetCurrentTimeMs()
/system/extras/memtrack/
Dmemtrack.cpp346 clock_gettime(CLOCK_MONOTONIC, &t); in main()
352 clock_gettime(CLOCK_MONOTONIC, &t); in main()
/system/extras/simpleperf/
Denvironment.h91 clock_gettime(CLOCK_MONOTONIC, &ts); in GetSystemClock()
/system/hwservicemanager/
Dservice.cpp99 int fdTimer = timerfd_create(CLOCK_MONOTONIC, 0 /*flags*/); in setupTo()
/system/extras/tests/framebuffer/
Drefresh.c23 clock_gettime(CLOCK_MONOTONIC, &t); in systemTime()
/system/core/libcutils/
Dtrace-container.cpp129 uint64_t ts = gettime(CLOCK_MONOTONIC); \
/system/extras/memory_replay/
DAction.cpp35 clock_gettime(CLOCK_MONOTONIC, &t); in nanotime()

123