Lines Matching full:pps

272 	double pps = 0;  in calc_pps()  local
276 pps = packets / period; in calc_pps()
278 return pps; in calc_pps()
284 double pps = 0; in calc_pps_u64() local
288 pps = packets / period; in calc_pps_u64()
290 return pps; in calc_pps_u64()
296 double pps = 0; in calc_drop() local
300 pps = packets / period; in calc_drop()
302 return pps; in calc_drop()
308 double pps = 0; in calc_info() local
312 pps = packets / period; in calc_info()
314 return pps; in calc_info()
320 double pps = 0; in calc_err() local
324 pps = packets / period; in calc_err()
326 return pps; in calc_err()
335 double t = 0, pps = 0; in stats_print() local
339 "XDP-event", "CPU:to", "pps", "drop-pps", "extra-info"); in stats_print()
358 pps = calc_pps_u64(r, p, t); in stats_print()
359 if (pps > 0) in stats_print()
361 rec_i ? 0.0: pps, rec_i ? pps : 0.0, in stats_print()
364 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print()
366 rec_i ? 0.0: pps, rec_i ? pps : 0.0, err2str(rec_i)); in stats_print()
383 pps = calc_pps_u64(r, p, t); in stats_print()
384 if (pps > 0) in stats_print()
386 0.0, pps, action2str(rec_i)); in stats_print()
388 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print()
389 if (pps > 0) in stats_print()
391 0.0, pps, action2str(rec_i)); in stats_print()
409 pps = calc_pps(r, p, t); in stats_print()
414 info = pps / info; /* calc average bulk size */ in stats_print()
416 if (pps > 0) in stats_print()
418 i, to_cpu, pps, drop, info, info_str); in stats_print()
420 pps = calc_pps(&rec->total, &prev->total, t); in stats_print()
421 if (pps > 0) { in stats_print()
426 info = pps / info; /* calc average bulk size */ in stats_print()
429 "sum", to_cpu, pps, drop, info, info_str); in stats_print()
448 pps = calc_pps(r, p, t); in stats_print()
453 if (pps > 0 || drop > 0) in stats_print()
455 i, pps, drop, info, i_str); in stats_print()
457 pps = calc_pps(&rec->total, &prev->total, t); in stats_print()
462 printf(fmt2, "cpumap-kthread", "total", pps, drop, info, i_str); in stats_print()
481 pps = calc_pps(r, p, t); in stats_print()
487 info = (pps+drop) / info; /* calc avg bulk */ in stats_print()
491 if (pps > 0 || drop > 0) in stats_print()
493 i, pps, drop, info, i_str, err_str); in stats_print()
495 pps = calc_pps(&rec->total, &prev->total, t); in stats_print()
501 info = (pps+drop) / info; /* calc avg bulk */ in stats_print()
505 printf(fmt2, "devmap-xmit", "total", pps, drop, in stats_print()