OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clock_gettime
(Results
126 - 150
of
591
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread_time.h
88
int __cdecl WINPTHREAD_API
clock_gettime
(clockid_t clock_id, struct timespec *tp);
/system/connectivity/wifilogd/
raw_os.cpp
35
return
clock_gettime
(clock_id, ts);
/system/core/libutils/
Timers.cpp
37
clock_gettime
(clocks[clock], &t);
/system/extras/simpleperf/runtest/
run_and_sleep.cpp
10
// Assume
clock_gettime
() doesn't fail.
11
clock_gettime
(CLOCK_MONOTONIC, &ts);
/external/adhd/cras/src/dsp/tests/
crossover2_test.c
62
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &tp1);
65
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &tp2);
/external/eigen/bench/btl/generic_bench/timers/
portable_timer.hh
154
clock_gettime
(m_clkid, &ts);
162
clock_gettime
(m_clkid, &ts);
/external/linux-kselftest/tools/testing/selftests/seccomp/
seccomp_benchmark.c
26
assert(
clock_gettime
(clk_id, &start) == 0);
31
assert(
clock_gettime
(clk_id, &finish) == 0);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
4-1.c
80
if (
clock_gettime
(CLOCK_REALTIME, &tpT0) != 0) {
81
perror("
clock_gettime
() was not successful\n");
112
if (
clock_gettime
(CLOCK_REALTIME, &tpT2) != 0) {
113
printf("
clock_gettime
() was not successful\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
1-1.c
65
ret =
clock_gettime
(CLOCK_REALTIME, &tsini);
133
ret =
clock_gettime
(CLOCK_REALTIME, &tsfin);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
3-1.c
51
clock_gettime
(CLOCK_REALTIME, &cleanup_time);
130
clock_gettime
(CLOCK_REALTIME, &main_time);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/
2-1.c
120
rc =
clock_gettime
(CLOCK_REALTIME, &ts);
122
perror("
clock_gettime
()");
145
rc =
clock_gettime
(CLOCK_REALTIME, &ts);
147
perror("
clock_gettime
()");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
2-1.c
93
if (
clock_gettime
(CLOCK_REALTIME, &tsbefore) != 0) {
94
perror("
clock_gettime
() did not return success\n");
108
if (
clock_gettime
(CLOCK_REALTIME, &tsafter) != 0) {
109
perror("
clock_gettime
() did not return success\n");
116
perror("
clock_gettime
inconsistent\n");
9-1.c
89
if (
clock_gettime
(CLOCK_REALTIME, &tsbefore) != 0) {
90
perror("
clock_gettime
() did not return success\n");
104
if (
clock_gettime
(CLOCK_REALTIME, &tsafter) != 0) {
105
perror("
clock_gettime
() did not return success\n");
/external/webrtc/webrtc/system_wrappers/source/
condition_variable_posix.cc
95
clock_gettime
(CLOCK_REALTIME, &ts);
97
clock_gettime
(CLOCK_MONOTONIC, &ts);
tick_util.cc
111
clock_gettime
(CLOCK_REALTIME, &ts);
113
clock_gettime
(CLOCK_MONOTONIC, &ts);
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
clock_ns.h
16
clock_gettime
(CLOCK_MONOTONIC, &t);
22
clock_gettime
(CLOCK_MONOTONIC_RAW, &t);
/packages/experimental/RpcPerformance/
rpcperftest.cpp
81
clock_gettime
(CLOCK_MONOTONIC, &before);
89
clock_gettime
(CLOCK_MONOTONIC, &after);
/test/vts/drivers/hal/libmeasurement/
vts_measurement.cpp
81
clock_gettime
(CLOCK_REALTIME, &ts_);
91
clock_gettime
(CLOCK_REALTIME, &ts_now);
/art/libartbase/base/
time_utils.cc
129
clock_gettime
(CLOCK_MONOTONIC, &now);
141
clock_gettime
(CLOCK_MONOTONIC, &now);
153
clock_gettime
(CLOCK_MONOTONIC, &now);
165
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &now);
176
clock_gettime
(CLOCK_PROCESS_CPUTIME_ID, &now);
194
clock_gettime
(clock, ts);
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
trace_time.py
91
# 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/linux-kselftest/tools/testing/selftests/timers/
freq-step.c
63
clock_gettime
(CLOCK_MONOTONIC_RAW, &ts1);
64
clock_gettime
(CLOCK_MONOTONIC, &ts2);
65
clock_gettime
(CLOCK_MONOTONIC_RAW, &ts3);
216
if (
clock_gettime
(CLOCK_MONOTONIC_RAW, &ts)) {
217
perror("[FAIL]
clock_gettime
(CLOCK_MONOTONIC_RAW)");
223
if (
clock_gettime
(CLOCK_MONOTONIC, &ts)) {
224
perror("[FAIL]
clock_gettime
(CLOCK_MONOTONIC)");
leap-a-day.c
164
clock_gettime
(CLOCK_REALTIME, &now);
167
clock_gettime
(CLOCK_REALTIME, &now);
215
if (
clock_gettime
(CLOCK_TAI, &ts)) {
243
clock_gettime
(CLOCK_REALTIME, &ts);
338
clock_gettime
(CLOCK_TAI, &tai);
/external/libcxx/src/
chrono.cpp
13
#include <time.h> //
clock_gettime
, CLOCK_MONOTONIC and CLOCK_REALTIME
97
if (0 !=
clock_gettime
(CLOCK_REALTIME, &tp))
98
__throw_system_error(errno, "
clock_gettime
(CLOCK_REALTIME) failed");
137
if (0 !=
clock_gettime
(CLOCK_UPTIME_RAW, &tp))
138
__throw_system_error(errno, "
clock_gettime
(CLOCK_UPTIME_RAW) failed");
224
if (0 !=
clock_gettime
(CLOCK_MONOTONIC, &tp))
225
__throw_system_error(errno, "
clock_gettime
(CLOCK_MONOTONIC) failed");
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/
chrono.cpp
13
#include <time.h> //
clock_gettime
, CLOCK_MONOTONIC and CLOCK_REALTIME
97
if (0 !=
clock_gettime
(CLOCK_REALTIME, &tp))
98
__throw_system_error(errno, "
clock_gettime
(CLOCK_REALTIME) failed");
137
if (0 !=
clock_gettime
(CLOCK_UPTIME_RAW, &tp))
138
__throw_system_error(errno, "
clock_gettime
(CLOCK_UPTIME_RAW) failed");
224
if (0 !=
clock_gettime
(CLOCK_MONOTONIC, &tp))
225
__throw_system_error(errno, "
clock_gettime
(CLOCK_MONOTONIC) failed");
/external/lz4/examples/
compress_functions.c
69
#include <time.h> /* for
clock_gettime
() */
137
clock_gettime
(CLOCK_MONOTONIC, &start);
150
clock_gettime
(CLOCK_MONOTONIC, &start);
163
clock_gettime
(CLOCK_MONOTONIC, &start);
196
clock_gettime
(CLOCK_MONOTONIC, &start);
209
clock_gettime
(CLOCK_MONOTONIC, &start);
220
clock_gettime
(CLOCK_MONOTONIC, &end);
Completed in 924 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>