Searched refs:timespec_sub (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/timers/ |
| 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()
|
| 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()
|
| 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()
|
| 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()
|
| /Linux-v5.10/tools/testing/selftests/kvm/lib/ |
| D | test_util.c | 80 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() function 92 return timespec_sub(end, start); in timespec_diff_now()
|
| /Linux-v5.10/tools/testing/selftests/kvm/include/ |
| D | test_util.h | 66 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
|
| /Linux-v5.10/tools/testing/selftests/kvm/ |
| D | steal_time.c | 245 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
|