Searched refs:clock_gettime (Results 1 - 25 of 141) sorted by relevance

123456

/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dclock_gettime.c9 clock_gettime(CLOCK_REALTIME, &ts);
/external/libmicrohttpd/src/microspdy/
H A Dinternal.c35 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts))
/external/fio/os/windows/
H A Dposix.h7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
/external/strace/tests/
H A Dclock_nanosleep.test9 syscalls=clock_nanosleep,clock_gettime,setitimer
H A Dclock_xettime.test3 # Check clock_getres, clock_gettime, and clock_settime syscalls decoding.
9 syscalls=clock_getres,clock_gettime,clock_settime
H A Dtimes.c70 while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) {
79 while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) {
/external/vboot_reference/tests/
H A Dtimer_utils.c9 clock_gettime(CLOCK_REALTIME, &ct->start_time);
13 clock_gettime(CLOCK_REALTIME, &ct->end_time);
/external/compiler-rt/test/tsan/
H A Dcond_version.c29 clock_gettime(CLOCK_MONOTONIC, &ts0);
39 clock_gettime(CLOCK_MONOTONIC, &ts2);
H A Dbench.h35 clock_gettime(CLOCK_MONOTONIC, &tp0);
38 clock_gettime(CLOCK_MONOTONIC, &tp1);
/external/tlsdate/src/events/
H A Dcheck_continuity.c40 if (clock_gettime (CLOCK_REALTIME, &real) < 0)
42 if (clock_gettime (CLOCK_MONOTONIC_RAW, &monotonic) < 0)
/external/tlsdate/src/compat/
H A Dclock-hurd.c21 * @return clock_gettime syscall return value
28 return clock_gettime(CLOCK_REALTIME, &time->tp);
H A Dclock-linux.c21 * @return clock_gettime syscall return value
27 return clock_gettime (CLOCK_REALTIME, &time->tp);
/external/autotest/client/tests/tracing_microbenchmark/src/
H A Dgetuid_microbench.c43 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &start_time)) {
44 perror("clock_gettime");
51 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_time)) {
52 perror("clock_gettime");
/external/deqp/framework/delibs/deutil/
H A DdeClock.c60 clock_gettime(CLOCK_MONOTONIC, &currTime);
65 /* Symbian supports only realtime clock for clock_gettime. */
67 clock_gettime(CLOCK_REALTIME, &currTime);
/external/eigen/bench/btl/generic_bench/timers/
H A Dportable_timer.hh112 clock_gettime(m_clkid, &ts);
120 clock_gettime(m_clkid, &ts);
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
H A Dtrace_time.py91 # Attempt to find clock_gettime in the C library.
92 clock_gettime = ctypes.CDLL(ctypes.util.find_library('c'),
93 use_errno=True).clock_gettime
96 clock_gettime = ctypes.CDLL(ctypes.util.find_library('rt'),
97 use_errno=True).clock_gettime
100 """Time specification, as described in clock_gettime(3)."""
106 if clock_gettime(clock_monotonic, ctypes.pointer(ts)):
/external/autotest/client/site_tests/platform_TraceClockMonotonic/src/
H A Dftrace-clock-monotonic.c24 ret = clock_gettime(CLOCK_MONOTONIC, &ts);
26 perror("clock_gettime");
/external/c-ares/
H A Dares__timeval.c40 ** clock_gettime() is granted to be increased monotonically when the
48 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) {
/external/webrtc/webrtc/system_wrappers/source/
H A Devent_timer_posix.cc79 clock_gettime(CLOCK_REALTIME, &end_at);
81 clock_gettime(CLOCK_MONOTONIC, &end_at);
176 clock_gettime(CLOCK_REALTIME, &created_at_);
178 clock_gettime(CLOCK_MONOTONIC, &created_at_);
H A Dcondition_variable_posix.cc95 clock_gettime(CLOCK_REALTIME, &ts);
97 clock_gettime(CLOCK_MONOTONIC, &ts);
H A Dtick_util.cc111 clock_gettime(CLOCK_REALTIME, &ts);
113 clock_gettime(CLOCK_MONOTONIC, &ts);
/external/libcxx/src/
H A Dchrono.cpp13 #include <time.h> // clock_gettime, CLOCK_MONOTONIC and CLOCK_REALTIME
41 if (0 != clock_gettime(CLOCK_REALTIME, &tp))
42 __throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed");
78 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp))
79 __throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed");
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
H A Dsyscall_parameters_restrictions_unittests.cc71 BPF_ASSERT_EQ(0, clock_gettime(clockid, &ts));
92 clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
107 clock_gettime(kInitCPUClockID, &ts);
/external/eigen/bench/
H A DBenchTimer.h43 * On POSIX platforms we use clock_gettime with CLOCK_PROCESS_CPUTIME_ID.
129 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts);
144 clock_gettime(CLOCK_REALTIME, &ts);
/external/jemalloc/src/
H A Dnstime.c125 clock_gettime(CLOCK_MONOTONIC, &ts);
127 clock_gettime(CLOCK_REALTIME, &ts);

Completed in 1436 milliseconds

123456