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