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

Function clear_packet_count

dpdk/app/test/test_distributor_perf.c:108–112  ·  view source on GitHub ↗

resets the packet counts for a new test */

Source from the content-addressed store, hash-verified

106
107/* resets the packet counts for a new test */
108static void
109clear_packet_count(void)
110{
111 memset(&worker_stats, 0, sizeof(worker_stats));
112}
113
114/*
115 * This is the basic worker function for performance tests.

Callers 1

perf_testFunction · 0.70

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected