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

/linux-master/tools/testing/selftests/timers/
H A Dnsleep-lat.c90 long long timespec_sub(struct timespec a, struct timespec b) function
120 if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) {
121 ksft_print_msg("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns);
131 latency += timespec_sub(target, end);
H A Dmqueue-lat.c40 long long timespec_sub(struct timespec a, struct timespec b) function
94 if ((timespec_sub(start, end)/count) > TARGET_TIMEOUT + UNRESONABLE_LATENCY)
H A Dalarmtimer-suspend.c87 long long timespec_sub(struct timespec a, struct timespec b) function
105 delta_ns = timespec_sub(start_time, ts);
H A Dset-timer-lat.c88 long long timespec_sub(struct timespec a, struct timespec b) function
105 delta_ns = timespec_sub(start_time, ts);
/linux-master/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c264 time_run2 = timespec_sub(time_run2, time_reset);
265 time_reset = timespec_sub(time_reset, time_run1);
266 time_run1 = timespec_sub(time_run1, time_start);
H A Dsteal_time.c316 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0)
/linux-master/tools/testing/selftests/kvm/lib/
H A Dtest_util.c104 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) function
116 return timespec_sub(end, start);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_cpu.c106 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) function
170 ts_total = timespec_sub(&ts_current, &ts_start);
173 ts_remaining = timespec_sub(&ts_run, &ts_total);
/linux-master/tools/testing/selftests/kvm/include/
H A Dtest_util.h86 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);

Completed in 151 milliseconds