Home
last modified time | relevance | path

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

/tools/testing/selftests/timers/
A Dnsleep-lat.c77 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
107 if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) { in nanosleep_lat_test()
108 ksft_print_msg("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns); in nanosleep_lat_test()
118 latency += timespec_sub(target, end); in nanosleep_lat_test()
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()
A Dalarmtimer-suspend.c73 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
91 delta_ns = timespec_sub(start_time, ts); in sigalarm()
A Dset-timer-lat.c76 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function
93 delta_ns = timespec_sub(start_time, ts); in sigalarm()
/tools/testing/selftests/kvm/
A Dmmu_stress_test.c394 time_rw = timespec_sub(time_rw, time_ro); in main()
395 time_ro = timespec_sub(time_ro, time_run2); in main()
396 time_run2 = timespec_sub(time_run2, time_reset); in main()
397 time_reset = timespec_sub(time_reset, time_run1); in main()
398 time_run1 = timespec_sub(time_run1, time_start); in main()
A Dsteal_time.c315 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
/tools/testing/selftests/kvm/lib/
A Dtest_util.c102 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() function
114 return timespec_sub(end, start); in timespec_elapsed()
/tools/testing/selftests/cgroup/
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()
/tools/testing/selftests/kvm/include/
A Dtest_util.h86 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);

Completed in 14 milliseconds