Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dxsk_fwd.c931 print_port_stats(int port_id, u64 ns_diff) in print_port_stats() argument
936 rx_pps = (p->n_pkts_rx - n_pkts_rx[port_id]) * 1000000000. / ns_diff; in print_port_stats()
937 tx_pps = (p->n_pkts_tx - n_pkts_tx[port_id]) * 1000000000. / ns_diff; in print_port_stats()
951 print_port_stats_all(u64 ns_diff) in print_port_stats_all() argument
957 print_port_stats(i, ns_diff); in print_port_stats_all()
1058 u64 ns1, ns_diff; in main() local
1063 ns_diff = ns1 - ns0; in main()
1066 print_port_stats_all(ns_diff); in main()