Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_perf.c45 static time_t current_nsec(void) in current_nsec() function
201 rx_begin_ns = current_nsec(); in run_receiver()
222 t = current_nsec(); in run_receiver()
224 in_read_ns += (current_nsec() - t); in run_receiver()
244 get_gbps(total_recv * 8, current_nsec() - rx_begin_ns)); in run_receiver()
308 tx_begin_ns = current_nsec(); in run_sender()
317 before = current_nsec(); in run_sender()
321 time_in_send += (current_nsec() - before); in run_sender()
347 tx_total_ns = current_nsec() - tx_begin_ns; in run_sender()
H A Dvsock_test.c553 static time_t current_nsec(void) in current_nsec() function
588 read_enter_ns = current_nsec(); in test_seqpacket_timeout_client()
601 read_overhead_ns = current_nsec() - read_enter_ns - in test_seqpacket_timeout_client()