/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
cam_semaphore_tests.cpp | 56 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); 62 clock_gettime(CLOCK_MONOTONIC, &ts_end); 70 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts));
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
cam_semaphore_tests.cpp | 56 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); 62 clock_gettime(CLOCK_MONOTONIC, &ts_end); 70 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts));
|
/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/ |
twopsetclock.c | 36 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { 51 printf("Note: Error in clock_gettime()\n"); 69 * Assume that clock increased monotonically and clock_gettime, 73 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { 74 printf("Note: Error in clock_gettime()\n");
|
/external/ltp/tools/pounder21/src/time_tests/ |
inconsistency-check.c | 56 if (clock_gettime(clock_type, &list[0])) { 61 clock_gettime(clock_type, &list[0]); 71 clock_gettime(clock_type, &list[i]);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
cam_semaphore_tests.cpp | 56 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); 62 clock_gettime(CLOCK_MONOTONIC, &ts_end); 70 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts));
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
nsleep-lat.c | 118 if (clock_gettime(clockid, &start)) 126 clock_gettime(clockid, &start); 129 clock_gettime(clockid, &end); 138 clock_gettime(clockid, &start); 141 clock_gettime(clockid, &end);
|
adjtick.c | 86 clock_gettime(CLOCK_MONOTONIC, mon); 87 clock_gettime(CLOCK_MONOTONIC_RAW, raw); 93 clock_gettime(CLOCK_MONOTONIC, &start); 94 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); 95 clock_gettime(CLOCK_MONOTONIC, &end); 187 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) {
|
mqueue-lat.c | 86 clock_gettime(CLOCK_MONOTONIC, &start); 91 clock_gettime(CLOCK_REALTIME, &now); 101 clock_gettime(CLOCK_MONOTONIC, &end);
|
nanosleep.c | 117 if (clock_gettime(clockid, &now)) 123 clock_gettime(clockid, &now); 129 clock_gettime(clockid, &now); 135 clock_gettime(clockid, &now);
|
raw_skew.c | 90 clock_gettime(CLOCK_MONOTONIC, &start); 91 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); 92 clock_gettime(CLOCK_MONOTONIC, &end); 112 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) {
|
/device/google/dragon/audio/hal/dsp/tests/ |
eq_test.c | 49 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 51 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); 93 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 95 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); 108 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 110 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2);
|
crossover_test.c | 60 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 62 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); 67 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 70 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2);
|
/frameworks/av/media/libcpustats/ |
ThreadCpuUsage.cpp | 45 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); 47 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno); 53 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); 55 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno); 64 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 66 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno); 107 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 109 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno); 138 rc = clock_gettime(CLOCK_MONOTONIC, &ts); 140 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
6-1.c | 88 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 89 perror("clock_gettime() did not return success\n"); 103 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { 104 perror("clock_gettime() did not return success\n"); 110 perror("clock_gettime inconsistent\n"); 129 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { 130 perror("clock_gettime() did not return success\n"); 135 perror("clock_gettime inconsistent\n");
|
/external/ltp/testcases/realtime/func/gtod_latency/ |
gtod_infinite.c | 26 * calls to clock_gettime(), and helped locate SMI induced delays on 34 * clock_gettime() calls. It starts with a predefined maximum of 147 rc = clock_gettime(CLOCK_TO_USE, &p_ts); 149 perror("clock_gettime"); 164 rc = clock_gettime(CLOCK_TO_USE, &p_ts); 165 rc = clock_gettime(CLOCK_TO_USE, &ts); 167 perror("clock_gettime");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
1-1.c | 58 if (clock_gettime(clockid, &tp1) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
1-2.c | 8 General test that clock_gettime() returns a valid tp for a given 29 if (clock_gettime(CLOCK_REALTIME, &tpundertest) == 0) { 48 printf("clock_gettime() failed\n");
|
2-1.c | 29 if (clock_gettime(CLOCK_REALTIME, &tpundertest) == 0) { 48 printf("clock_gettime() failed\n");
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/ |
loc_stub_time.cpp | 46 clock_gettime(CLOCK_BOOTTIME, &ts);
|
/hardware/qcom/gps/sdm845/utils/platform_lib_abstractions/loc_stub/src/ |
loc_stub_time.cpp | 46 clock_gettime(CLOCK_BOOTTIME, &ts);
|
/system/core/libutils/ |
SystemClock.cpp | 61 int err = clock_gettime(CLOCK_BOOTTIME, &ts); 64 ALOGE("clock_gettime(CLOCK_BOOTTIME) failed: %s", strerror(errno));
|
/external/autotest/client/tests/tracing_microbenchmark/src/ |
getuid_microbench.c | 43 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/compiler-rt/test/tsan/ |
bench.h | 35 clock_gettime(CLOCK_MONOTONIC, &tp0); 38 clock_gettime(CLOCK_MONOTONIC, &tp1);
|
/external/deqp/framework/delibs/deutil/ |
deClock.c | 60 clock_gettime(CLOCK_MONOTONIC, &currTime); 65 /* Symbian supports only realtime clock for clock_gettime. */ 67 clock_gettime(CLOCK_REALTIME, &currTime);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
1-3.c | 41 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 42 perror("clock_gettime() did not return success\n"); 77 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { 78 perror("clock_gettime() did not return success\n");
|