/linux/tools/testing/radix-tree/ |
A 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/tools/testing/selftests/timers/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
/linux/tools/testing/selftests/futex/functional/ |
A D | futex_waitv.c | 43 if (clock_gettime(CLOCK_MONOTONIC, &to)) in waiterfn() 151 if (clock_gettime(CLOCK_MONOTONIC, &to)) in main() 170 if (clock_gettime(CLOCK_MONOTONIC, &to)) in main() 188 if (clock_gettime(CLOCK_MONOTONIC, &to)) in main() 204 if (clock_gettime(CLOCK_MONOTONIC, &to)) in main() 220 if (clock_gettime(CLOCK_MONOTONIC, &to)) in main()
|
/linux/tools/testing/selftests/vm/ |
A D | ksm_tests.c | 168 if (clock_gettime(CLOCK_MONOTONIC_RAW, &cur_time)) { in ksm_do_scan() 264 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_merge() 296 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_unmerge() 336 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_zero_page_merge() 403 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in check_ksm_numa_merge() 525 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_hugepages_time() 531 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time() 566 if (clock_gettime(CLOCK_MONOTONIC_RAW, &start_time)) { in ksm_merge_time() 572 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time() 614 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time() [all …]
|
/linux/tools/testing/selftests/kvm/ |
A D | dirty_log_perf_test.c | 51 clock_gettime(CLOCK_MONOTONIC, &start); in vcpu_worker() 207 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 226 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 237 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 252 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 261 clock_gettime(CLOCK_MONOTONIC, &start); in run_test() 272 clock_gettime(CLOCK_MONOTONIC, &start); in run_test()
|
/linux/tools/testing/selftests/timens/ |
A 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()
|
A 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()
|
A 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()
|
A D | timer.c | 84 clock_gettime(CLOCK_MONOTONIC, &mtime_now); in main() 85 clock_gettime(CLOCK_BOOTTIME, &btime_now); in main()
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
A D | futex_bench.c | 25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex() 32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
|
A D | mmap_bench.c | 39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap() 53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
|
A D | null_syscall.c | 138 clock_gettime(CLOCK_MONOTONIC, &tv_start); in main() 143 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
A 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/tools/testing/selftests/seccomp/ |
A D | seccomp_benchmark.c | 30 assert(clock_gettime(clk_id, &start) == 0); in timing() 35 assert(clock_gettime(clk_id, &finish) == 0); in timing() 60 assert(clock_gettime(CLOCK_MONOTONIC, &start) == 0); in calibrate() 66 assert(clock_gettime(CLOCK_MONOTONIC, &finish) == 0); in calibrate()
|
/linux/tools/testing/selftests/mqueue/ |
A 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/arch/um/os-Linux/ |
A 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/arch/x86/entry/vdso/ |
A D | vclock_gettime.c | 46 int clock_gettime(clockid_t, struct __kernel_timespec *) 67 int clock_gettime(clockid_t, struct old_timespec32 *)
|
/linux/tools/testing/selftests/intel_pstate/ |
A D | aperf.c | 62 if (clock_gettime(CLOCK_MONOTONIC, &before) < 0) { in main() 74 if (clock_gettime(CLOCK_MONOTONIC, &after) < 0) { in main()
|