/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
hog.c | 184 clock_gettime(CLOCK_REALTIME, &time_start); 188 clock_gettime(CLOCK_REALTIME, &time_end);
|
/external/curl/lib/ |
timeval.c | 54 ** clock_gettime() is granted to be increased monotonically when the 63 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) {
|
/external/fio/engines/ |
posixaio.c | 28 if (!clock_gettime(clk, ts)) 31 perror("clock_gettime");
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
set-timer-lat.c | 102 clock_gettime(clock_id, &ts); 153 clock_gettime(clock_id, &start_time);
|
/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/pthread_rwlock_timedrdlock/ |
3-1.c | 62 clock_gettime(CLOCK_REALTIME, &ts); 91 clock_gettime(CLOCK_REALTIME, &ts);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
stress.c | 112 ret = clock_gettime(CLOCK_REALTIME, &now); 146 ret = clock_gettime(CLOCK_MONOTONIC, &now);
|
/external/ltp/testcases/realtime/func/sched_jitter/ |
sched_jitter.c | 132 clock_gettime(CLOCK_MONOTONIC, &start); 134 clock_gettime(CLOCK_MONOTONIC, &stop);
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
lookup_pi_state.c | 138 clock_gettime(CLOCK_REALTIME, &ts_abs_timeout); 162 clock_gettime(CLOCK_REALTIME, &ts_abs_timeout);
|
/external/strace/tests/ |
clock_nanosleep.c | 2 * Check decoding of clock_nanosleep and clock_gettime syscalls. 131 printf("clock_gettime(CLOCK_REALTIME, {tv_sec=%lld, tv_nsec=%llu}) = 0\n",
|
/external/strace/tests-m32/ |
clock_nanosleep.c | 2 * Check decoding of clock_nanosleep and clock_gettime syscalls. 131 printf("clock_gettime(CLOCK_REALTIME, {tv_sec=%lld, tv_nsec=%llu}) = 0\n",
|
/external/strace/tests-mx32/ |
clock_nanosleep.c | 2 * Check decoding of clock_nanosleep and clock_gettime syscalls. 131 printf("clock_gettime(CLOCK_REALTIME, {tv_sec=%lld, tv_nsec=%llu}) = 0\n",
|
/external/vulkan-validation-layers/demos/smoke/ |
ShellAndroid.cpp | 33 void reset() { clock_gettime(CLOCK_MONOTONIC, &start_); } 37 clock_gettime(CLOCK_MONOTONIC, &now);
|
ShellXcb.cpp | 32 void reset() { clock_gettime(CLOCK_MONOTONIC, &start_); } 36 clock_gettime(CLOCK_MONOTONIC, &now);
|
/frameworks/av/media/libcpustats/include/cpustats/ |
ThreadCpuUsage.h | 27 // clock_gettime(CLOCK_THREAD_CPUTIME_ID). Simple usage: for cyclic 105 // as reported by clock_gettime(CLOCK_MONOTONIC).
|
/frameworks/av/media/libnbaio/ |
MonoPipe.cpp | 127 bool nowTsValid = !clock_gettime(CLOCK_MONOTONIC, &nowTs); 133 "clock_gettime(CLOCK_MONOTONIC) failed: was %ld.%09ld but now %ld.%09ld",
|
/system/extras/tests/suspend_stress/ |
suspend_stress.cpp | 128 ret = clock_gettime(CLOCK_BOOTTIME, &expected_time); 157 ret = clock_gettime(CLOCK_BOOTTIME, &actual_time);
|
/external/libevent/ |
evutil_time.c | 253 The POSIX clock_gettime() interface provides a few ways to get at a 283 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &ts) == 0) { 289 if (!fallback && clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { 315 if (clock_gettime(base->monotonic_clock, &ts) == -1) 327 clock_gettime(), they provide mach_absolute_time(). Its units are not
|
/external/libpng/contrib/libtests/ |
timepng.c | 17 #define _POSIX_C_SOURCE 199309L /* for clock_gettime */ 47 /* 'CLOCK_PROCESS_CPUTIME_ID' is one of the clock timers for clock_gettime. It 48 * need not be supported even when clock_gettime is available. It returns the 184 /* Do the timing using clock_gettime and the per-process timer. */ 185 if (!clock_gettime(CLOCK_PROCESS_CPUTIME_ID, t))
|
/external/python/cpython3/Python/ |
pytime.c | 567 err = clock_gettime(CLOCK_REALTIME, &ts); 578 info->implementation = "clock_gettime(CLOCK_REALTIME)"; 700 const char *implementation = "clock_gettime(CLOCK_HIGHRES)"; 703 const char *implementation = "clock_gettime(CLOCK_MONOTONIC)"; 708 if (clock_gettime(clk_id, &ts) != 0) {
|
/external/fio/ |
configure | 330 clock_gettime="yes" # clock_monotonic probe has dependency on this 822 # clock_gettime probe 823 if test "$clock_gettime" != "yes" ; then 824 clock_gettime="no" 831 return clock_gettime(0, NULL); 834 if compile_prog "" "" "clock_gettime"; then 835 clock_gettime="yes" 836 elif compile_prog "" "-lrt" "clock_gettime"; then 837 clock_gettime="yes" 840 echo "clock_gettime $clock_gettime [all...] |
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
mq_perf_tests.c | 346 clock_gettime(clock, &start); \ 349 clock_gettime(clock, &middle); \ 352 clock_gettime(clock, &end); \ 480 clock_gettime(clock, &start); 485 clock_gettime(clock, &end); 509 clock_gettime(clock, &start); 511 clock_gettime(clock, &end);
|
/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);
|
/system/core/liblog/tests/ |
liblog_benchmark.cpp | 99 * clock_gettime to be zero-syscall, but there there does remain some 114 clock_gettime(clk_id, &t); 201 clock_gettime(android_log_clockid(), &ts); 277 clock_gettime(android_log_clockid(), &ts); 352 clock_gettime(android_log_clockid(), &ts); 427 clock_gettime(android_log_clockid(), &ts); 500 clock_gettime(android_log_clockid(), &ts);
|
/external/python/cpython3/Lib/test/ |
test_time.py | 73 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 74 'need time.clock_gettime()') 76 time.clock_gettime(time.CLOCK_REALTIME) 78 @unittest.skipUnless(hasattr(time, 'clock_gettime'), 79 'need time.clock_gettime()') 83 a = time.clock_gettime(time.CLOCK_MONOTONIC) 84 b = time.clock_gettime(time.CLOCK_MONOTONIC) 97 t = time.clock_gettime(time.CLOCK_REALTIME) 460 realtime = time.clock_gettime(time.CLOCK_REALTIME) [all...] |