Home
last modified time | relevance | path

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

1234567

/external/tlsdate/
Dconfigure.ac213 dnl clock_gettime is either part of libc or unavailable.
214 AC_CHECK_FUNC([clock_gettime], ,
215 [AC_MSG_ERROR([Your system lacks clock_gettime])])
231 dnl clock_gettime is either part of libc or unavailable.
232 dnl Check for clock_gettime. Some systems put it into -lc, while
235 AC_CHECK_FUNC([clock_gettime], [:],
236 [AC_CHECK_LIB([rt], [clock_gettime], [RT_LIB="-lrt"],
237 [AC_MSG_ERROR([Your system lacks clock_gettime])])])
254 dnl clock_gettime is either part of libc or unavailable.
255 AC_CHECK_FUNC([clock_gettime], ,
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py89 clock_gettime = ctypes.CDLL(ctypes.util.find_library('c'),
90 use_errno=True).clock_gettime
93 clock_gettime = ctypes.CDLL(ctypes.util.find_library('rt'),
94 use_errno=True).clock_gettime
103 if clock_gettime(clock_monotonic, ctypes.pointer(ts)):
/external/autotest/client/tests/monotonic_time/
Dcontrol10 clock_gettime(CLOCK_MONTONIC)
18 # Test gettimeofday(), TSC, and clock_gettime(CLOCK_MONOTONIC)
26 # clock_gettime(CLOCK_MONOTONIC) - nanoseconds
/external/autotest/client/tests/kvm/autotest_control/
Dmonotonic_time.control10 clock_gettime(CLOCK_MONTONIC)
18 # Test gettimeofday(), TSC, and clock_gettime(CLOCK_MONOTONIC)
26 # clock_gettime(CLOCK_MONOTONIC) - nanoseconds
/external/rmi4utils/rmi4update/
Drmi4update.cpp136 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
144 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
164 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
177 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
183 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
190 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
197 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
204 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
/external/webrtc/webrtc/system_wrappers/source/
Devent_timer_posix.cc79 clock_gettime(CLOCK_REALTIME, &end_at); in Wait()
81 clock_gettime(CLOCK_MONOTONIC, &end_at); in Wait()
176 clock_gettime(CLOCK_REALTIME, &created_at_); in Process()
178 clock_gettime(CLOCK_MONOTONIC, &created_at_); in Process()
Dcondition_variable_posix.cc95 clock_gettime(CLOCK_REALTIME, &ts); in SleepCS()
97 clock_gettime(CLOCK_MONOTONIC, &ts); in SleepCS()
Dtick_util.cc111 clock_gettime(CLOCK_REALTIME, &ts); in QueryOsForTicks()
113 clock_gettime(CLOCK_MONOTONIC, &ts); in QueryOsForTicks()
/external/vboot_reference/tests/
Dtimer_utils.c9 clock_gettime(CLOCK_REALTIME, &ct->start_time); in StartTimer()
13 clock_gettime(CLOCK_REALTIME, &ct->end_time); in StopTimer()
/external/tlsdate/src/events/
Dcheck_continuity.c40 if (clock_gettime (CLOCK_REALTIME, &real) < 0) in check_continuity()
42 if (clock_gettime (CLOCK_MONOTONIC_RAW, &monotonic) < 0) in check_continuity()
/external/fio/
Dconfigure684 clock_gettime="no"
690 return clock_gettime(0, NULL);
694 clock_gettime="yes"
696 clock_gettime="yes"
699 echo "clock_gettime $clock_gettime"
704 if test "$clock_gettime" = "yes" ; then
710 return clock_gettime(CLOCK_MONOTONIC, NULL);
722 if test "$clock_gettime" = "yes" ; then
728 return clock_gettime(CLOCK_MONOTONIC_PRECISE, NULL);
1460 if test "$clock_gettime" = "yes" ; then
/external/compiler-rt/test/tsan/
Dcond_version.c29 clock_gettime(CLOCK_MONOTONIC, &ts0); in main()
39 clock_gettime(CLOCK_MONOTONIC, &ts2); in main()
Dbench.h35 clock_gettime(CLOCK_MONOTONIC, &tp0); in main()
38 clock_gettime(CLOCK_MONOTONIC, &tp1); in main()
/external/libdrm/tests/exynos/
Dexynos_fimg2d_perf.c78 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_simple()
89 clock_gettime(CLOCK_MONOTONIC, &end); in fimg2d_perf_simple()
172 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_multi()
182 clock_gettime(CLOCK_MONOTONIC, &end); in fimg2d_perf_multi()
/external/autotest/client/tests/tracing_microbenchmark/src/
Dgetuid_microbench.c43 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &start_time)) { in main()
51 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_time)) { in main()
/external/strace/tests/
Dtimes.c70 while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { in main()
79 while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { in main()
/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/deqp/framework/delibs/deutil/
DdeClock.c60 clock_gettime(CLOCK_MONOTONIC, &currTime); in deGetMicroseconds()
67 clock_gettime(CLOCK_REALTIME, &currTime); in deGetMicroseconds()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions_unittests.cc71 BPF_ASSERT_EQ(0, clock_gettime(clockid, &ts)); in CheckClock()
92 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); in BPF_DEATH_TEST_C()
107 clock_gettime(kInitCPUClockID, &ts); in BPF_DEATH_TEST_C()
/external/libcxx/src/
Dchrono.cpp41 if (0 != clock_gettime(CLOCK_REALTIME, &tp)) in now()
78 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
/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/jemalloc/src/
Dnstime.c125 clock_gettime(CLOCK_MONOTONIC, &ts); in nstime_update()
127 clock_gettime(CLOCK_REALTIME, &ts); in nstime_update()
/external/vulkan-validation-layers/demos/smoke/
DShellAndroid.cpp44 clock_gettime(CLOCK_MONOTONIC, &start_); in reset()
50 clock_gettime(CLOCK_MONOTONIC, &now); in get()
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
Dhog.c184 clock_gettime(CLOCK_REALTIME, &time_start); in main()
188 clock_gettime(CLOCK_REALTIME, &time_end); in main()

1234567