Searched refs:tv_end (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/powerpc/benchmarks/ |
| H A D | gettimeofday.c | 15 struct timeval tv_start, tv_end, tv_diff; in test_gettimeofday() local 20 gettimeofday(&tv_end, NULL); in test_gettimeofday() 23 timersub(&tv_end, &tv_start, &tv_diff); in test_gettimeofday()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.c | 1125 struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0}; in receive_pkts() 1137 timeradd(&tv_now, &tv_timeout, &tv_end); in receive_pkts() 1153 if (timercmp(&tv_now, &tv_end, >)) { in __send_pkts() 1290 struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0}; in wait_for_tx_completion() 1296 timeradd(&tv_now, &tv_timeout, &tv_end); in wait_for_tx_completion() 1302 if (timercmp(&tv_now, &tv_end, >)) { in all_packets_sent() 1112 struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0}; receive_pkts() local 1276 struct timeval tv_end, tv_now, tv_timeout = {THREAD_TMOUT, 0}; wait_for_tx_completion() local
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2119 struct timeval tv_end; member 3377 timersub(&t->tv_end, &t->tv_begin, &tv); in format_counters() 3383 outp += sprintf(outp, "%10ld.%06ld\t", t->tv_end.tv_sec, t->tv_end.tv_usec); in format_counters() 3986 old->tv_end = new->tv_end; in delta_thread() 4117 t->tv_end.tv_sec = 0; in clear_counters() 4118 t->tv_end.tv_usec = 0; in clear_counters() 4231 average.threads->tv_end = t->tv_end; in sum_counters() 5403 gettimeofday(&t->tv_end, (struct timezone *)NULL); in get_counters()
|