Searched refs:timespec_sub (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | nsleep-lat.c | 90 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function 120 if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) { in nanosleep_lat_test() 121 printf("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns); in nanosleep_lat_test() 131 latency += timespec_sub(target, end); in nanosleep_lat_test()
|
H A D | mqueue-lat.c | 40 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 D | alarmtimer-suspend.c | 87 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function 105 delta_ns = timespec_sub(start_time, ts); in sigalarm()
|
H A D | set-timer-lat.c | 88 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub() function 105 delta_ns = timespec_sub(start_time, ts); in sigalarm()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 267 time_run2 = timespec_sub(time_run2, time_reset); in main() 268 time_reset = timespec_sub(time_reset, time_run1); in main() 269 time_run1 = timespec_sub(time_run1, time_start); in main()
|
H A D | steal_time.c | 217 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 104 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() function 116 return timespec_sub(end, start); in timespec_elapsed()
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpu.c | 106 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) in timespec_sub() function 170 ts_total = timespec_sub(&ts_current, &ts_start); in hog_cpus_timed() 173 ts_remaining = timespec_sub(&ts_run, &ts_total); in hog_cpus_timed()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | test_util.h | 84 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
|