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

Function total_packet_count

dpdk/app/test/test_distributor_perf.c:98–105  ·  view source on GitHub ↗

* returns the total count of the number of packets handled by the worker * functions given below. */

Source from the content-addressed store, hash-verified

96 * functions given below.
97 */
98static unsigned
99total_packet_count(void)
100{
101 unsigned i, count = 0;
102 for (i = 0; i < worker_idx; i++)
103 count += worker_stats[i].handled_packets;
104 return count;
105}
106
107/* resets the packet counts for a new test */
108static void

Callers 1

perf_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected