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

Function graph_fini

dpdk/app/test/test_graph_perf.c:673–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673static inline void
674graph_fini(void)
675{
676 const struct rte_memzone *mz = rte_memzone_lookup(TEST_GRAPH_PERF_MZ);
677 struct test_graph_perf *graph_data;
678
679 if (mz == NULL)
680 return;
681 graph_data = mz->addr;
682
683 rte_graph_destroy(graph_data->graph_id);
684 free(graph_data->node_data);
685 rte_memzone_free(rte_memzone_lookup(TEST_GRAPH_PERF_MZ));
686}
687
688static int
689measure_perf(void)

Callers

nothing calls this directly

Calls 4

rte_memzone_lookupFunction · 0.85
rte_graph_destroyFunction · 0.85
rte_memzone_freeFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected