Searched refs:period_ (Results 1 – 3 of 3) sorted by relevance
249 double period_ = 0; in calc_period() local254 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()256 return period_; in calc_period()259 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps() argument264 if (period_ > 0) { in calc_pps()266 pps = packets / period_; in calc_pps()271 static __u64 calc_drop_pps(struct datarec *r, struct datarec *p, double period_) in calc_drop_pps() argument276 if (period_ > 0) { in calc_drop_pps()278 pps = packets / period_; in calc_drop_pps()284 struct datarec *p, double period_) in calc_errs_pps() argument[all …]
306 double period_ = 0; in calc_period() local311 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()313 return period_; in calc_period()316 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps() argument321 if (period_ > 0) { in calc_pps()323 pps = packets / period_; in calc_pps()329 struct datarec *p, double period_) in calc_errs_pps() argument334 if (period_ > 0) { in calc_errs_pps()336 pps = packets / period_; in calc_errs_pps()
212 double period_ = 0; in calc_period() local217 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()219 return period_; in calc_period()224 double period_ = 0; in calc_period_u64() local229 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period_u64()231 return period_; in calc_period_u64()