/external/ltp/lib/ |
tst_timer.c | 40 case CLOCK_MONOTONIC: 41 return "CLOCK_MONOTONIC";
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep2/ |
clock_nanosleep2_01.c | 33 const clockid_t CLOCK_TO_USE = CLOCK_MONOTONIC;
|
/external/ltp/testcases/kernel/timers/clock_gettime/ |
clock_gettime02.c | 75 static clockid_t clocks[2] = { CLOCK_REALTIME, CLOCK_MONOTONIC };
|
/system/core/libutils/ |
Timers.cpp | 30 CLOCK_MONOTONIC,
|
/system/security/keystore/ |
keystore_keymaster_enforcement.h | 35 int err = clock_gettime(CLOCK_MONOTONIC, &tp);
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
mqueue-lat.c | 86 clock_gettime(CLOCK_MONOTONIC, &start); 101 clock_gettime(CLOCK_MONOTONIC, &end);
|
adjtick.c | 86 clock_gettime(CLOCK_MONOTONIC, mon); 93 clock_gettime(CLOCK_MONOTONIC, &start); 95 clock_gettime(CLOCK_MONOTONIC, &end);
|
alarmtimer-suspend.c | 45 #define CLOCK_MONOTONIC 1 73 case CLOCK_MONOTONIC: 74 return "CLOCK_MONOTONIC";
|
inconsistency-check.c | 48 #define CLOCK_MONOTONIC 1 66 case CLOCK_MONOTONIC: 67 return "CLOCK_MONOTONIC";
|
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
epoll_wait02.c | 72 tst_timer_start(CLOCK_MONOTONIC); 112 tst_timer_check(CLOCK_MONOTONIC);
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
nanosleep02.c | 111 tst_timer_start(CLOCK_MONOTONIC); 141 tst_timer_check(CLOCK_MONOTONIC);
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_time.c | 59 clock_gettime(CLOCK_MONOTONIC, &tv); 93 while (clock_nanosleep(CLOCK_MONOTONIC, 0, &time, &time) == EINTR);
|
/external/strace/tests/ |
timer_create.c | 76 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1])) 77 perror_msg_and_skip("timer_create CLOCK_MONOTONIC"); 78 printf("timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=%d, " 106 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3])) 107 perror_msg_and_skip("timer_create CLOCK_MONOTONIC"); 108 printf("timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=%d, "
|
/external/strace/tests-m32/ |
timer_create.c | 76 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1])) 77 perror_msg_and_skip("timer_create CLOCK_MONOTONIC"); 78 printf("timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=%d, " 106 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3])) 107 perror_msg_and_skip("timer_create CLOCK_MONOTONIC"); 108 printf("timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=%d, "
|
/external/strace/tests-mx32/ |
timer_create.c | 76 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1])) 77 perror_msg_and_skip("timer_create CLOCK_MONOTONIC"); 78 printf("timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=%d, " 106 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3])) 107 perror_msg_and_skip("timer_create CLOCK_MONOTONIC"); 108 printf("timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=%d, "
|
/external/webrtc/webrtc/system_wrappers/source/ |
condition_variable_posix.cc | 52 result = pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); 97 clock_gettime(CLOCK_MONOTONIC, &ts);
|
event_timer_posix.cc | 49 pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); 81 clock_gettime(CLOCK_MONOTONIC, &end_at); 178 clock_gettime(CLOCK_MONOTONIC, &created_at_);
|
/packages/experimental/RpcPerformance/ |
rpcperftest.cpp | 81 clock_gettime(CLOCK_MONOTONIC, &before); 89 clock_gettime(CLOCK_MONOTONIC, &after);
|
/frameworks/base/libs/hwui/tests/macrobench/ |
TestSceneRunner.cpp | 152 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); 162 nsecs_t start = systemTime(CLOCK_MONOTONIC); 165 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); 174 nsecs_t done = systemTime(CLOCK_MONOTONIC); 182 nsecs_t end = systemTime(CLOCK_MONOTONIC);
|
/external/libcxx/src/ |
chrono.cpp | 13 #include <time.h> // clock_gettime, CLOCK_MONOTONIC and CLOCK_REALTIME 53 #elif !defined(_LIBCPP_WIN32API) && !defined(CLOCK_MONOTONIC) 211 #elif defined(CLOCK_MONOTONIC) 217 #error "Never use CLOCK_MONOTONIC for steady_clock::now on Apple platforms" 224 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) 225 __throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed");
|
/frameworks/av/media/libcpustats/ |
ThreadCpuUsage.cpp | 53 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); 55 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno); 138 rc = clock_gettime(CLOCK_MONOTONIC, &ts); 140 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno); 160 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); 162 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno);
|
/external/lz4/examples/ |
compress_functions.c | 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);
|
/external/drm_hwcomposer/ |
vsyncworker.cpp | 92 int ret = clock_gettime(CLOCK_MONOTONIC, &vsync); 107 ret = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &vsync, NULL);
|
/external/libchrome/base/synchronization/ |
condition_variable_posix.cc | 36 pthread_condattr_setclock(&attrs, CLOCK_MONOTONIC); 102 clock_gettime(CLOCK_MONOTONIC, &now);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
null_syscall.c | 141 clock_gettime(CLOCK_MONOTONIC, &tv_start); 146 clock_gettime(CLOCK_MONOTONIC, &tv_now);
|