/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
D | clock_gettime04.c | 79 …{ .clock_gettime = libc_clock_gettime, .ts_type = TST_LIBC_TIMESPEC, .desc = "vDSO or syscall with… 82 …{ .clock_gettime = sys_clock_gettime, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old … 83 …{ .clock_gettime = vdso_gettime, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "vDSO with old kernel s… 87 …{ .clock_gettime = sys_clock_gettime64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with… 88 …{ .clock_gettime = vdso_gettime64, .ts_type = TST_KERN_TIMESPEC, .desc = "vDSO time64 with kernel … 90 { .clock_gettime = my_gettimeofday, .ts_type = TST_LIBC_TIMESPEC, .desc = "gettimeofday"}, 120 if (tv->clock_gettime == my_gettimeofday && clks[i] != CLOCK_REALTIME) in run() 123 ret = tv->clock_gettime(clks[i], tst_ts_get(&ts)); in run() 147 if (tv->clock_gettime == my_gettimeofday) in run() 172 if (variants[j].clock_gettime == my_gettimeofday && clks[i] != CLOCK_REALTIME) in run()
|
D | clock_gettime03.c | 42 …{ .clock_gettime = libc_clock_gettime, .ts_type = TST_LIBC_TIMESPEC, .desc = "vDSO or syscall with… 45 …{ .clock_gettime = sys_clock_gettime, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old … 49 …{ .clock_gettime = sys_clock_gettime64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with… 57 if (tv->clock_gettime(tc->clk_id, tst_ts_get(&then))) { in child() 65 if (tv->clock_gettime(tc->clk_id, tst_ts_get(&parent_then))) { in child() 102 if (tv->clock_gettime(tc->clk_id, tst_ts_get(&now))) { in verify_ns_clock()
|
D | clock_gettime01.c | 63 …{ .clock_gettime = libc_clock_gettime, .ts_type = TST_LIBC_TIMESPEC, .desc = "vDSO or syscall with… 66 …{ .clock_gettime = sys_clock_gettime, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old … 70 …{ .clock_gettime = sys_clock_gettime64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with… 95 TEST(tv->clock_gettime(tc[i].clktype, tst_ts_get(&spec))); in verify_clock_gettime()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
D | 3-1.c | 31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) { in main() 36 if (clock_gettime(CLOCK_MONOTONIC, &ts2) != 0) { in main() 43 if (clock_gettime(CLOCK_MONOTONIC, &ts3) != 0) { in main() 49 if (clock_gettime(CLOCK_MONOTONIC, &ts4) != 0) { in main()
|
D | 4-1.c | 44 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts1) != 0) { in main() 51 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts2) != 0) { in main() 58 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts3) != 0) { in main() 65 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts4) != 0) { in main()
|
D | rationale.txt | 1 For these tests, the date returned by clock_gettime() will be compared 8 clock_gettime(). [Hopefully, clock_gettime() doesn't just _call_ 10 However, even if not, it's still a valid test to make sure clock_gettime()
|
/third_party/boost/boost/chrono/detail/inlined/posix/ |
D | thread_clock.hpp | 31 if ( ::clock_gettime( CLOCK_THREAD_CPUTIME_ID, &ts ) ) in now() 39 if ( ::clock_gettime( clock_id, &ts ) ) in now() 57 if ( ::clock_gettime( CLOCK_THREAD_CPUTIME_ID, &ts ) ) in now() 65 if ( ::clock_gettime( clock_id, &ts ) ) in now()
|
D | chrono.hpp | 25 if ( ::clock_gettime( CLOCK_REALTIME, &ts ) ) in now() 38 if ( ::clock_gettime( CLOCK_REALTIME, &ts ) ) in now() 86 if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) ) in now() 108 if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) ) in now()
|
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep04.c | 20 …{ .clock_gettime = libc_clock_gettime, .clock_nanosleep = libc_clock_nanosleep, .ts_type = TST_LIB… 23 …{ .clock_gettime = sys_clock_gettime, .clock_nanosleep = sys_clock_nanosleep, .ts_type = TST_KERN_… 27 …{ .clock_gettime = sys_clock_gettime64, .clock_nanosleep = sys_clock_nanosleep64, .ts_type = TST_K… 41 TEST(tv->clock_gettime(tcase[i], tst_ts_get(&ts))); in do_test()
|
D | clock_nanosleep03.c | 27 …{ .clock_gettime = libc_clock_gettime, .clock_nanosleep = libc_clock_nanosleep, .ts_type = TST_LIB… 30 …{ .clock_gettime = sys_clock_gettime, .clock_nanosleep = sys_clock_nanosleep, .ts_type = TST_KERN_… 34 …{ .clock_gettime = sys_clock_gettime64, .clock_nanosleep = sys_clock_nanosleep64, .ts_type = TST_K… 42 ret = tv->clock_gettime(CLOCK_MONOTONIC, tst_ts_get(ts)); in do_clock_gettime()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 22-1.c | 85 ret = clock_gettime(clp, &tp); in main() 104 ret = clock_gettime(clt, &tp); in main() 131 ret = clock_gettime(clp, &tp); in main() 152 ret = clock_gettime(clt, &tp); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | timer.cpp | 47 if (clock_gettime(CLOCK_MONOTONIC, &wall_before_) == -1) in Start() 49 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &cpu_before_) == -1) in Start() 58 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &cpu_after_) == -1) in Stop() 60 if (clock_gettime(CLOCK_MONOTONIC, &wall_after_) == -1) in Stop()
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | timer.cpp | 47 if (clock_gettime(CLOCK_MONOTONIC, &wall_before_) == -1) in Start() 49 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &cpu_before_) == -1) in Start() 58 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &cpu_after_) == -1) in Stop() 60 if (clock_gettime(CLOCK_MONOTONIC, &wall_after_) == -1) in Stop()
|
/third_party/spirv-tools/source/util/ |
D | timer.cpp | 47 if (clock_gettime(CLOCK_MONOTONIC, &wall_before_) == -1) in Start() 49 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &cpu_before_) == -1) in Start() 58 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &cpu_after_) == -1) in Stop() 60 if (clock_gettime(CLOCK_MONOTONIC, &wall_after_) == -1) in Stop()
|
/third_party/musl/libc-test/src/functionalext/thread/ |
D | pthread_cond_timedwait.c | 62 EXPECT_EQ(clock_gettime(CLOCK_REALTIME, &ts), 0); in pthread_cond_timedwait_0010() 89 EXPECT_EQ(clock_gettime(CLOCK_REALTIME, &ts), 0); in pthread_cond_timedwait_0020() 112 EXPECT_EQ(clock_gettime(CLOCK_REALTIME, &ts), 0); in pthread_cond_timedwait_time64_0010() 138 EXPECT_EQ(clock_gettime(CLOCK_MONOTONIC, &ts), 0); in pthread_cond_timedwait_monotonic_np_0010() 235 clock_gettime(CLOCK_REALTIME, &ts); in ClockWaitTimedwait2() 272 clock_gettime(CLOCK_REALTIME, &tsNow); in ClockWaitTimeOut() 313 clock_gettime(CLOCK_MONOTONIC, &ts); in ClockWaitTimedwait4() 350 clock_gettime(CLOCK_MONOTONIC, &tsNow); in ClockWaitTimeOut2() 382 clock_gettime(CLOCK_MONOTONIC, &ts); in ClockWaitTimeMismatch() 409 clock_gettime(CLOCK_REALTIME, &ts); in ClockWaitTimeMismatch2() [all …]
|
D | pthread_mutex_ext.c | 31 clock_gettime(CLOCK_REALTIME, &tsNow); in PthreadClocklockOutRealTime() 99 clock_gettime(CLOCK_MONOTONIC, &tsNow); in PthreadClocklockOutMonoTime() 165 clock_gettime(CLOCK_REALTIME, &tsNow); in PthreadClocklockOutRealTime2() 170 clock_gettime(CLOCK_REALTIME, &tsNow); in PthreadClocklockOutRealTime2() 222 clock_gettime(CLOCK_MONOTONIC, &tsNow); in pthread_mutex_clocklock_0060() 229 clock_gettime(CLOCK_REALTIME, &tsNow); in pthread_mutex_clocklock_0060() 246 clock_gettime(CLOCK_MONOTONIC, &tsNow); in PthreadTimedlockMonotonicNPOut() 315 clock_gettime(CLOCK_MONOTONIC, &tsNow); in PthreadLockTimeoutNPOut()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | pthread_rwlock_timedwrlock.c | 32 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedwrlock_0100() 58 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedwrlock_0200() 82 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedwrlock_0300() 104 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedwrlock_time64_0100()
|
D | pthread_rwlock_timedrdlock.c | 32 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedrdlock_0100() 58 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedrdlock_0200() 82 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedrdlock_0300() 104 clock_gettime(CLOCK_REALTIME, &ts); in pthread_rwlock_timedrdlock_time64_0100()
|
/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
D | clock_settime01.c | 28 …{ .clock_gettime = libc_clock_gettime, .clock_settime = libc_clock_settime, .ts_type = TST_LIBC_TI… 31 …{ .clock_gettime = sys_clock_gettime, .clock_settime = sys_clock_settime, .ts_type = TST_KERN_OLD_… 35 …{ .clock_gettime = sys_clock_gettime64, .clock_settime = sys_clock_settime64, .ts_type = TST_KERN_… 49 ret = tv->clock_gettime(CLOCK_REALTIME, tst_ts_get(ts)); in do_clock_gettime()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
D | 2-1.c | 53 if (clock_gettime(clockid_1, &t1) != 0) { in main() 58 if (clock_gettime(clockid_2, &t2) != 0) { in main() 63 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t3) != 0) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd04.c | 40 …{ .clock_gettime = sys_clock_gettime, .tfd_settime = sys_timerfd_settime, .ts_type = TST_KERN_OLD_… 44 …{ .clock_gettime = sys_clock_gettime64, .tfd_settime = sys_timerfd_settime64, .ts_type = TST_KERN_… 66 if (tv->clock_gettime(tc->clk_id, tst_ts_get(&start))) { in verify_timerfd() 97 if (tv->clock_gettime(CLOCK_MONOTONIC, tst_ts_get(&end))) { in verify_timerfd()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/clocks/ |
D | twopsetclock.c | 36 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { in main() 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 73 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main()
|
/third_party/ffmpeg/libavutil/ |
D | time.c | 60 if (&clock_gettime) in av_gettime_relative() 64 clock_gettime(CLOCK_MONOTONIC, &ts); in av_gettime_relative() 75 if (!&clock_gettime) in av_gettime_relative_is_monotonic()
|
/third_party/boost/libs/config/test/ |
D | boost_has_clock_gettime.ipp | 9 // TITLE: clock_gettime 10 // DESCRIPTION: The platform supports POSIX standard API clock_gettime. 21 int res = clock_gettime(CLOCK_REALTIME, &tp);
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
D | mq_timed.h | 14 …{ .clock_gettime = libc_clock_gettime, .mqt_send = libc_mq_timedsend, .mqt_receive = libc_mq_timed… 17 …{ .clock_gettime = sys_clock_gettime, .mqt_send = sys_mq_timedsend, .mqt_receive = sys_mq_timedrec… 21 …{ .clock_gettime = sys_clock_gettime64, .mqt_send = sys_mq_timedsend64, .mqt_receive = sys_mq_time…
|