Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dhbm.c349 fprintf(fout, "packets:%d\n", (int)qstats.pkts_total); in run_bpf_prog()
358 (qstats.pkts_total + 1); in run_bpf_prog()
366 (qstats.pkts_total + 1); in run_bpf_prog()
374 (qstats.pkts_total + 1); in run_bpf_prog()
383 (int)(qstats.sum_rtt / (qstats.pkts_total + 1))); in run_bpf_prog()
388 (qstats.pkts_total + 1.0)) / 1000000.0); in run_bpf_prog()
392 (1500 * ((int)qstats.pkts_total ) + 1))); in run_bpf_prog()
397 (qstats.pkts_total + 1); in run_bpf_prog()
H A Dhbm.h28 unsigned long long pkts_total; member
H A Dhbm_kern.h175 __sync_add_and_fetch(&(qsp->pkts_total), 1); in hbm_update_stats()