Searched refs:tv_now (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/powerpc/benchmarks/ |
D | null_syscall.c | 133 struct timespec tv_start, tv_now; in main() local 143 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main() 146 elapsed_ns = (tv_now.tv_sec - tv_start.tv_sec) * 1000000000ULL + in main() 147 (tv_now.tv_nsec - tv_start.tv_nsec); in main()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | xskxceiver.c | 911 struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0}; in receive_pkts() local 920 ret = gettimeofday(&tv_now, NULL); in receive_pkts() 923 timeradd(&tv_now, &tv_timeout, &tv_end); in receive_pkts() 927 ret = gettimeofday(&tv_now, NULL); in receive_pkts() 930 if (timercmp(&tv_now, &tv_end, >)) { in receive_pkts()
|