Home
last modified time | relevance | path

Searched refs:tv_end (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_memcpy_perf.c274 struct timeval tv_begin, tv_end; in perf_test() local
303 gettimeofday(&tv_end, NULL); in perf_test()
304 time_aligned = (double)(tv_end.tv_sec - tv_begin.tv_sec) in perf_test()
305 + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; in perf_test()
310 gettimeofday(&tv_end, NULL); in perf_test()
312 + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; in perf_test()
317 gettimeofday(&tv_end, NULL); in perf_test()
318 time_unaligned = (double)(tv_end.tv_sec - tv_begin.tv_sec) in perf_test()
319 + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; in perf_test()
324 gettimeofday(&tv_end, NULL); in perf_test()
[all …]
/f-stack/freebsd/net/altq/
H A Daltq_subr.c944 struct timeval tv_start, tv_end; in init_machclk() local
952 microtime(&tv_end); in init_machclk()
954 diff = (u_int64_t)(tv_end.tv_sec - tv_start.tv_sec) * 1000000 in init_machclk()
955 + tv_end.tv_usec - tv_start.tv_usec; in init_machclk()