/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | benchmark.c | 26 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_iter() 36 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_iter() 59 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_insert() 64 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_insert() 80 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_tagging() 85 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_tagging() 101 clock_gettime(CLOCK_MONOTONIC, &start); in benchmark_delete() 106 clock_gettime(CLOCK_MONOTONIC, &finish); in benchmark_delete()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
D | adjtick.c | 75 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw() 76 clock_gettime(CLOCK_MONOTONIC_RAW, raw); in get_monotonic_and_raw() 82 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw() 83 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw() 84 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw() 177 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
|
D | nsleep-lat.c | 107 if (clock_gettime(clockid, &start)) in nanosleep_lat_test() 115 clock_gettime(clockid, &start); in nanosleep_lat_test() 118 clock_gettime(clockid, &end); in nanosleep_lat_test() 127 clock_gettime(clockid, &start); in nanosleep_lat_test() 130 clock_gettime(clockid, &end); in nanosleep_lat_test()
|
D | nanosleep.c | 106 if (clock_gettime(clockid, &now)) in nanosleep_test() 112 clock_gettime(clockid, &now); in nanosleep_test() 118 clock_gettime(clockid, &now); in nanosleep_test() 124 clock_gettime(clockid, &now); in nanosleep_test()
|
D | raw_skew.c | 78 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw() 79 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw() 80 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw() 100 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
|
D | mqueue-lat.c | 75 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test() 80 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test() 90 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
|
D | freq-step.c | 55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample() 56 clock_gettime(CLOCK_MONOTONIC, &ts2); in get_sample() 57 clock_gettime(CLOCK_MONOTONIC_RAW, &ts3); in get_sample() 208 if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { in init_test() 215 if (clock_gettime(CLOCK_MONOTONIC, &ts)) { in init_test()
|
D | leap-a-day.c | 164 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure() 167 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure() 215 if (clock_gettime(CLOCK_TAI, &ts)) { in main() 243 clock_gettime(CLOCK_REALTIME, &ts); in main() 338 clock_gettime(CLOCK_TAI, &tai); in main()
|
D | inconsistency-check.c | 102 clock_gettime(clock_type, &list[0]); in consistency_test() 114 clock_gettime(clock_type, &list[i]); in consistency_test() 186 if (!clock_gettime(clockid, &ts)) { in main()
|
/kernel/linux/build/test/kernel_ltp/syscalls/clock_gettime/ |
D | BUILD.gn | 22 "//third_party/ltp/testcases/kernel/syscalls/clock_gettime/clock_gettime01.c", 31 "//third_party/ltp/testcases/kernel/syscalls/clock_gettime/clock_gettime02.c", 40 "//third_party/ltp/testcases/kernel/syscalls/clock_gettime/clock_gettime03.c", 49 "//third_party/ltp/testcases/kernel/syscalls/clock_gettime/clock_gettime04.c", 58 "//third_party/ltp/testcases/kernel/syscalls/clock_gettime/leapsec01.c",
|
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/ |
D | seccomp_benchmark.c | 26 assert(clock_gettime(clk_id, &start) == 0); in timing() 31 assert(clock_gettime(clk_id, &finish) == 0); in timing() 56 assert(clock_gettime(CLOCK_MONOTONIC, &start) == 0); in calibrate() 62 assert(clock_gettime(CLOCK_MONOTONIC, &finish) == 0); in calibrate()
|
/kernel/liteos_a/testsuites/unittest/libc/time/clock/full/ |
D | clock_test_003.cpp | 48 ret = clock_gettime(clockid, &ts); in ClockTest() 59 ret = clock_gettime(clockid, &ts); in ClockTest() 70 ret = clock_gettime(clockid, &ts); in ClockTest()
|
D | clock_test_006.cpp | 57 ret = clock_gettime(clk, &oldtp); in ClockTest() 72 ret = clock_gettime(clk, &tp); in ClockTest()
|
D | clock_test_008.cpp | 57 ret = clock_gettime(clk, &oldtp); in ClockTest() 72 ret = clock_gettime(clk, &tp); in ClockTest()
|
D | clock_test_009.cpp | 57 ret = clock_gettime(clk, &oldtp); in ClockTest() 72 ret = clock_gettime(clk, &tp); in ClockTest()
|
D | clock_test_007.cpp | 56 ret = clock_gettime(clk, &oldtp); in ClockTest() 71 ret = clock_gettime(clk, &tp); in ClockTest()
|
D | clock_test_001.cpp | 57 ret = clock_gettime(clk, &oldtp); in ClockTest() 75 ret = clock_gettime(clk, &tp); in ClockTest()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
D | dirty_log_perf_test.c | 53 clock_gettime(CLOCK_MONOTONIC, &start); in vcpu_worker() 140 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 157 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 169 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 184 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 194 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 212 clock_gettime(CLOCK_MONOTONIC, &start); in run_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
D | futex.c | 29 clock_gettime(clockid, &timeout); in run_test() 48 clock_gettime(clockid, &end); in run_test() 73 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main()
|
D | timerfd.c | 22 return clock_gettime(clockid, now); in tclock_gettime() 91 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main() 92 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
|
D | timens.h | 26 if (clock_gettime(CLOCK_BOOTTIME_ALARM, &ts) == -1 && errno == EINVAL) in check_supported_timers() 91 if (clock_gettime(clk_id, res)) { in _gettime()
|
/kernel/liteos_m/testsuites/unittest/posix/src/semaphore/ |
D | semaphore_func_test.c | 80 clock_gettime(CLOCK_REALTIME, &tsNow); in GetDelayedTime() 120 clock_gettime(CLOCK_REALTIME, &tsNow); 147 clock_gettime(CLOCK_REALTIME, &tsBegin); 149 clock_gettime(CLOCK_REALTIME, &tsNow); 162 clock_gettime(CLOCK_REALTIME, &tsNow);
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
D | futex_bench.c | 25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex() 32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
|
D | mmap_bench.c | 39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap() 53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
|
/kernel/liteos_a/testsuites/unittest/libc/time/clock/smoke/ |
D | clock_test_smoke.cpp | 47 ret = clock_gettime(clk, &oldtp); in ClockSmokeTest() 57 ret = clock_gettime(clk, &ts); in ClockSmokeTest()
|