/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
D | alarmtimer-suspend.c | 102 clock_gettime(alarm_clock_id, &ts); in sigalarm() 150 clock_gettime(alarm_clock_id, &start_time); in main()
|
D | threadtest.c | 92 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread() 111 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
|
/Linux-v5.4/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()
|
D | null_syscall.c | 137 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main() 142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
|
/Linux-v5.4/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 231 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start() 237 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_start() 250 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop() 257 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_stop()
|
/Linux-v5.4/arch/um/os-Linux/ |
D | time.c | 36 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation() 98 clock_gettime(CLOCK_MONOTONIC,&ts); in os_nsecs()
|
/Linux-v5.4/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()
|
/Linux-v5.4/arch/x86/entry/vdso/ |
D | vclock_gettime.c | 46 int clock_gettime(clockid_t, struct __kernel_timespec *) 67 int clock_gettime(clockid_t, struct old_timespec32 *)
|
/Linux-v5.4/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 348 clock_gettime(clock, &start); \ 351 clock_gettime(clock, &middle); \ 354 clock_gettime(clock, &end); \ 482 clock_gettime(clock, &start); in perf_test_thread() 487 clock_gettime(clock, &end); in perf_test_thread() 511 clock_gettime(clock, &start); in perf_test_thread() 513 clock_gettime(clock, &end); in perf_test_thread()
|
/Linux-v5.4/tools/testing/selftests/powerpc/stringloops/ |
D | strlen.c | 41 clock_gettime(CLOCK_MONOTONIC, &ts_start); in bench_test() 46 clock_gettime(CLOCK_MONOTONIC, &ts_end); in bench_test()
|
/Linux-v5.4/tools/testing/selftests/ptp/ |
D | testptp.c | 307 if (clock_gettime(clkid, &ts)) { in main() 316 clock_gettime(CLOCK_REALTIME, &ts); in main() 325 clock_gettime(clkid, &ts); in main() 393 if (clock_gettime(clkid, &ts)) { in main()
|
/Linux-v5.4/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 108 clock_gettime(CLOCK_MONOTONIC, &a); in main() 136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
|
/Linux-v5.4/arch/sparc/vdso/ |
D | vdso.lds.S | 19 clock_gettime;
|
/Linux-v5.4/arch/sparc/vdso/vdso32/ |
D | vdso32.lds.S | 18 clock_gettime;
|
/Linux-v5.4/arch/x86/um/vdso/ |
D | vdso.lds.S | 21 clock_gettime;
|