Home
last modified time | relevance | path

Searched refs:timespec_sub (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/timers/
H A Dnsleep-lat.c43 long long timespec_sub(struct timespec a, struct timespec b) in clockstring()
79 if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) { in timespec_sub()
80 ksft_print_msg("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns); in timespec_sub()
93 latency += timespec_sub(target, end); in nanosleep_lat_test()
77 long long timespec_sub(struct timespec a, struct timespec b) timespec_sub() function
H A Dmqueue-lat.c40 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
94 if ((timespec_sub(start, end)/count) > TARGET_TIMEOUT + UNRESONABLE_LATENCY) in mqueue_lat_test()
H A Dalarmtimer-suspend.c42 long long timespec_sub(struct timespec a, struct timespec b)
60 delta_ns = timespec_sub(start_time, ts); in clockstring()
73 long long timespec_sub(struct timespec a, struct timespec b) timespec_sub() function
H A Dset-timer-lat.c46 long long timespec_sub(struct timespec a, struct timespec b) in clockstring()
63 delta_ns = timespec_sub(start_time, ts); in clockstring()
76 long long timespec_sub(struct timespec a, struct timespec b) timespec_sub() function
/linux/tools/testing/selftests/kvm/
H A Dmmu_stress_test.c386 time_rw = timespec_sub(time_rw, time_ro); in main()
387 time_ro = timespec_sub(time_ro, time_run2); in main()
388 time_run2 = timespec_sub(time_run2, time_reset); in main()
389 time_reset = timespec_sub(time_reset, time_run1); in main()
390 time_run1 = timespec_sub(time_run1, time_start); in main()
H A Dsteal_time.c478 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
/linux/tools/testing/selftests/vfio/
H A Dvfio_pci_device_init_perf_test.c82 static struct timespec timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
138 init_time = timespec_sub(args->end, args->start); in TEST_F()
145 wall_time = timespec_sub(end, start); in TEST_F()
/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c142 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in test_sysfs_path()
154 return timespec_sub(end, start); in thp_configured()
109 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) timespec_sub() function
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c108 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) in timespec_sub() function
172 ts_total = timespec_sub(&ts_current, &ts_start); in hog_cpus_timed()
175 ts_remaining = timespec_sub(&ts_run, &ts_total); in hog_cpus_timed()
/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h108 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);