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

Function free_xstats_display_info

dpdk/app/test-pmd/testpmd.c:2935–2944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2933}
2934
2935static void
2936free_xstats_display_info(portid_t pi)
2937{
2938 if (!ports[pi].xstats_info.allocated)
2939 return;
2940 free(ports[pi].xstats_info.ids_supp);
2941 free(ports[pi].xstats_info.prev_values);
2942 free(ports[pi].xstats_info.curr_values);
2943 ports[pi].xstats_info.allocated = false;
2944}
2945
2946/** Fill helper structures for specified port to show extended statistics. */
2947static void

Callers 1

close_portFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected