MCPcopy Create free account
hub / github.com/F-Stack/f-stack / print_pdump_stats

Function print_pdump_stats

dpdk/app/pdump/main.c:436–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436static void
437print_pdump_stats(void)
438{
439 int i;
440 struct pdump_tuples *pt;
441
442 for (i = 0; i < num_tuples; i++) {
443 printf("##### PDUMP DEBUG STATS #####\n");
444 pt = &pdump_t[i];
445 printf(" -packets dequeued: %"PRIu64"\n",
446 pt->stats.dequeue_pkts);
447 printf(" -packets transmitted to vdev: %"PRIu64"\n",
448 pt->stats.tx_pkts);
449 printf(" -packets freed: %"PRIu64"\n",
450 pt->stats.freed_pkts);
451 }
452}
453
454static inline void
455disable_pdump(struct pdump_tuples *pt)

Callers 1

mainFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected