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

Function dump_struct_sizes

dpdk/app/test/commands.c:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99};
100
101static void
102dump_struct_sizes(void)
103{
104#define DUMP_SIZE(t) printf("sizeof(" #t ") = %u\n", (unsigned)sizeof(t));
105 DUMP_SIZE(struct rte_mbuf);
106 DUMP_SIZE(struct rte_mempool);
107 DUMP_SIZE(struct rte_ring);
108#undef DUMP_SIZE
109}
110
111/* Add the dump_* tests cases 8< */
112static void cmd_dump_parsed(void *parsed_result,

Callers 1

cmd_dump_parsedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected