Searched refs:period_ (Results 1 – 1 of 1) sorted by relevance
572 double period_ = 0; in calc_period() local577 period_ = ((double)period / NANOSEC_PER_SEC); in calc_period()579 return period_; in calc_period()589 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps() argument594 if (period_ > 0) { in calc_pps()596 pps = sample_round(packets / period_); in calc_pps()601 static __u64 calc_drop_pps(struct datarec *r, struct datarec *p, double period_) in calc_drop_pps() argument606 if (period_ > 0) { in calc_drop_pps()608 pps = sample_round(packets / period_); in calc_drop_pps()613 static __u64 calc_errs_pps(struct datarec *r, struct datarec *p, double period_) in calc_errs_pps() argument[all …]