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

Function dump_struct_sizes

dpdk/app/test-pmd/cmdline.c:8349–8357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8347};
8348
8349static void
8350dump_struct_sizes(void)
8351{
8352#define DUMP_SIZE(t) printf("sizeof(" #t ") = %u\n", (unsigned)sizeof(t));
8353 DUMP_SIZE(struct rte_mbuf);
8354 DUMP_SIZE(struct rte_mempool);
8355 DUMP_SIZE(struct rte_ring);
8356#undef DUMP_SIZE
8357}
8358
8359
8360/* Dump the socket memory statistics on console */

Callers 1

cmd_dump_parsedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected