Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dxdp_sample_user.c572 double period_ = 0; in calc_period() local
579 return period_; in calc_period()
594 if (period_ > 0) { in calc_pps()
596 pps = sample_round(packets / period_); in calc_pps()
606 if (period_ > 0) { in calc_drop_pps()
608 pps = sample_round(packets / period_); in calc_drop_pps()
618 if (period_ > 0) { in calc_errs_pps()
620 pps = sample_round(packets / period_); in calc_errs_pps()
630 if (period_ > 0) { in calc_info_pps()
632 pps = sample_round(packets / period_); in calc_info_pps()
[all …]