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
638
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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");
9-2.c
91
if (
clock_gettime
(CLOCK_REALTIME, &tsbefore) != 0) {
92
perror("
clock_gettime
() did not return success\n");
121
if (
clock_gettime
(CLOCK_REALTIME, &tsafter) != 0) {
122
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);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/
chrono.cpp
13
#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");
/test/vts/drivers/hal/libmeasurement/
vts_measurement.cpp
81
clock_gettime
(CLOCK_REALTIME, &ts_);
91
clock_gettime
(CLOCK_REALTIME, &ts_now);
/art/runtime/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/
leap-a-day.c
175
clock_gettime
(CLOCK_REALTIME, &now);
178
clock_gettime
(CLOCK_REALTIME, &now);
225
if (
clock_gettime
(CLOCK_TAI, &ts)) {
253
clock_gettime
(CLOCK_REALTIME, &ts);
348
clock_gettime
(CLOCK_TAI, &tai);
alarmtimer-suspend.c
113
clock_gettime
(alarm_clock_id, &ts);
161
clock_gettime
(alarm_clock_id, &start_time);
threadtest.c
104
clock_gettime
(CLOCK_MONOTONIC, &global_list[listcount++]);
113
* list. This stresses
clock_gettime
() lock contention.
123
clock_gettime
(CLOCK_MONOTONIC, &my_list[count]);
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
syscall_parameters_restrictions_unittests.cc
71
BPF_ASSERT_EQ(0,
clock_gettime
(clockid, &ts));
95
clock_gettime
(CLOCK_MONOTONIC_RAW, &ts);
110
clock_gettime
(kInitCPUClockID, &ts);
/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");
/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);
/device/google/dragon/audio/hal/dsp/tests/
drc_test.c
32
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &tp1);
40
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &tp2);
eq2_test.c
65
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &tp1);
67
clock_gettime
(CLOCK_THREAD_CPUTIME_ID, &tp2);
/external/eigen/bench/
BenchTimer.h
50
* On POSIX platforms we use
clock_gettime
with CLOCK_PROCESS_CPUTIME_ID.
136
clock_gettime
(CLOCK_PROCESS_CPUTIME_ID, &ts);
151
clock_gettime
(CLOCK_REALTIME, &ts);
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
null_syscall.c
43
* Use a timer instead of busy looping on
clock_gettime
() so we don't
141
clock_gettime
(CLOCK_MONOTONIC, &tv_start);
146
clock_gettime
(CLOCK_MONOTONIC, &tv_now);
/external/ltp/testcases/kernel/device-drivers/cpufreq/
cpufreq_boost.c
123
clock_gettime
(CLOCK_MONOTONIC_RAW, &tv_start);
130
clock_gettime
(CLOCK_MONOTONIC_RAW, &tv_end);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
8-1.c
73
clock_gettime
(CLOCK_REALTIME, &ts);
83
clock_gettime
(CLOCK_REALTIME, &ts);
Completed in 8428 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>