Home
last modified time | relevance | path

Searched refs:tv_start (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/powerpc/benchmarks/
Dgettimeofday.c15 struct timeval tv_start, tv_end, tv_diff; in test_gettimeofday() local
17 gettimeofday(&tv_start, NULL); in test_gettimeofday()
23 timersub(&tv_start, &tv_end, &tv_diff); in test_gettimeofday()
Dnull_syscall.c133 struct timespec tv_start, tv_now; in main() local
138 clock_gettime(CLOCK_MONOTONIC, &tv_start); 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/perf/bench/
Dmem-functions.c256 struct timeval tv_start, tv_end, tv_diff; in do_memcpy_gettimeofday() local
262 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memcpy_gettimeofday()
267 timersub(&tv_end, &tv_start, &tv_diff); in do_memcpy_gettimeofday()
326 struct timeval tv_start, tv_end, tv_diff; in do_memset_gettimeofday() local
336 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memset_gettimeofday()
341 timersub(&tv_end, &tv_start, &tv_diff); in do_memset_gettimeofday()