/system/media/audio_utils/include/audio_utils/ |
D | clock_nanosleep.h | 42 #ifndef CLOCK_MONOTONIC 44 #define CLOCK_MONOTONIC 0 macro
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_bench.c | 153 clock_gettime(CLOCK_MONOTONIC, &ts_start); in ion_heap_bench() 159 clock_gettime(CLOCK_MONOTONIC, &ts_end); in ion_heap_bench() 180 clock_gettime(CLOCK_MONOTONIC, &ts_start); in dmabuf_heap_bench() 186 clock_gettime(CLOCK_MONOTONIC, &ts_end); in dmabuf_heap_bench()
|
/system/logging/liblog/tests/ |
D | log_time_test.cpp | 25 clock_gettime(CLOCK_MONOTONIC, &ts); in TEST()
|
D | liblog_benchmark.cpp | 110 do_clock_overhead(state, CLOCK_MONOTONIC); in BM_time_clock_gettime_MONOTONIC() 117 syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &t); in BM_time_clock_gettime_MONOTONIC_syscall() 135 clock_getres(CLOCK_MONOTONIC, &t); in BM_time_clock_getres_MONOTONIC() 143 syscall(__NR_clock_getres, CLOCK_MONOTONIC, &t); in BM_time_clock_getres_MONOTONIC_syscall() 936 log_time now(CLOCK_MONOTONIC); in BM_lookupEventTagNum_logd_new()
|
D | liblog_test.cpp | 215 log_time ts(CLOCK_MONOTONIC); in TEST() 245 ts1 = log_time(CLOCK_MONOTONIC); in TEST() 299 clock_gettime(CLOCK_MONOTONIC, &ts); in TEST() 515 signal_time = log_time(CLOCK_MONOTONIC); in caught_blocking_signal() 624 } while (!signaled || (log_time(CLOCK_MONOTONIC) < signal_time)); in TEST() 674 signal_time = log_time(CLOCK_MONOTONIC); in running_thread() 780 } while (!signaled || (log_time(CLOCK_MONOTONIC) < signal_time)); in TEST() 1569 log_time ts(CLOCK_MONOTONIC); in TEST() 1592 ts = log_time(CLOCK_MONOTONIC); in TEST() 1610 ts = log_time(CLOCK_MONOTONIC); in TEST() [all …]
|
/system/core/libutils/include/utils/ |
D | Condition.h | 103 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in Condition() 123 clock_gettime(CLOCK_MONOTONIC, &ts); in waitRelative()
|
/system/unwinding/libbacktrace/ |
D | ThreadEntry.cpp | 39 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in ThreadEntry() 101 clock_gettime(CLOCK_MONOTONIC, &ts); in Wait()
|
/system/chre/platform/linux/ |
D | system_time.cc | 30 if (clock_gettime(CLOCK_MONOTONIC, &timeNow)) { in getMonotonicTime()
|
D | system_timer.cc | 66 int ret = timer_create(CLOCK_MONOTONIC, &sigevt, &mTimerId); in init()
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 268 clock_gettime(CLOCK_MONOTONIC, &start); in testDelay() 272 clock_gettime(CLOCK_MONOTONIC, ¤t); in testDelay() 293 clock_gettime(CLOCK_MONOTONIC, &start); in testDelaySpin() 297 clock_gettime(CLOCK_MONOTONIC, ¤t); in testDelaySpin()
|
/system/extras/memory_replay/ |
D | Utils.h | 24 clock_gettime(CLOCK_MONOTONIC, &t); in Nanotime()
|
/system/extras/tests/timetest/ |
D | timetest.c | 17 if(clock_gettime(CLOCK_MONOTONIC, &t)) { in nanotime() 64 int clock_id = CLOCK_MONOTONIC; in main()
|
/system/extras/simpleperf/runtest/ |
D | run_and_sleep.cpp | 11 clock_gettime(CLOCK_MONOTONIC, &ts); in GetSystemClock()
|
/system/core/libutils/ |
D | Timers.cpp | 37 static constexpr clockid_t clocks[] = {CLOCK_REALTIME, CLOCK_MONOTONIC, in systemTime()
|
/system/extras/tests/pftest/ |
D | pftest.c | 41 clock_gettime(CLOCK_MONOTONIC, &t); in stop_watch()
|
/system/security/keystore/ |
D | keystore_keymaster_enforcement.h | 35 int err = clock_gettime(CLOCK_MONOTONIC, &tp); in get_current_time()
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/ |
D | native-lib.cpp | 66 clock_gettime(CLOCK_MONOTONIC, &ts); in GetSystemClock()
|
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 52 clock_gettime(CLOCK_MONOTONIC, &ts); in GetCurrentTimeMs()
|
/system/logging/logd/ |
D | LogKlog.cpp | 200 log_time LogKlog::correction = (log_time(CLOCK_REALTIME) < log_time(CLOCK_MONOTONIC)) 202 : (log_time(CLOCK_REALTIME) - log_time(CLOCK_MONOTONIC)); 207 signature(CLOCK_MONOTONIC), in LogKlog() 327 log_time mono(CLOCK_MONOTONIC); in sniffTime()
|
/system/extras/memtrack/ |
D | memtrack.cpp | 346 clock_gettime(CLOCK_MONOTONIC, &t); in main() 352 clock_gettime(CLOCK_MONOTONIC, &t); in main()
|
/system/hwservicemanager/ |
D | service.cpp | 99 int fdTimer = timerfd_create(CLOCK_MONOTONIC, 0 /*flags*/); in setupTo()
|
/system/vold/ |
D | EncryptInplace.cpp | 156 if (clock_gettime(CLOCK_MONOTONIC, &time_now)) { in UpdateProgress() 337 if (clock_gettime(CLOCK_MONOTONIC, &time_started)) { in EncryptInPlace()
|
/system/extras/tests/framebuffer/ |
D | refresh.c | 23 clock_gettime(CLOCK_MONOTONIC, &t); in systemTime()
|
/system/extras/simpleperf/ |
D | environment.h | 141 clock_gettime(CLOCK_MONOTONIC, &ts); in GetSystemClock()
|
/system/core/libcutils/ |
D | trace-container.cpp | 138 uint64_t ts = gettime(CLOCK_MONOTONIC); \
|