Searched refs:current_nsec (Results 1 – 2 of 2) sorted by relevance
45 static time_t current_nsec(void) in current_nsec() function201 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()
589 static time_t current_nsec(void) in test_seqpacket_timeout_client() 624 read_enter_ns = current_nsec(); in test_seqpacket_timeout_server() 637 read_overhead_ns = current_nsec() - read_enter_ns - in test_seqpacket_bigmsg_client() 1612 tout = current_nsec() + ACCEPTQ_LEAK_RACE_TIMEOUT * NSEC_PER_SEC; in test_stream_leak_acceptq_server() 1619 } while (current_nsec() < tout); in test_stream_msgzcopy_leak_errq_client() 2035 tout = current_nsec() + TRANSPORT_CHANGE_TIMEOUT * NSEC_PER_SEC; in test_stream_transport_change_client() 2092 } while (current_nsec() < tout);2200 ns = current_nsec(); in test_stream_nolinger_server() 2202 ns = current_nsec() - ns; in test_stream_nolinger_server() 557 static time_t current_nsec(void) current_nsec() function