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

Function measure_perf

dpdk/app/test/test_graph_perf.c:688–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688static int
689measure_perf(void)
690{
691 const struct rte_memzone *mz;
692 struct test_graph_perf *graph_data;
693
694 mz = rte_memzone_lookup(TEST_GRAPH_PERF_MZ);
695 if (mz == NULL)
696 return -ENOMEM;
697 graph_data = mz->addr;
698
699 return measure_perf_get(graph_data->graph_id);
700}
701
702static inline int
703graph_hr_4s_1n_1src_1snk(void)

Calls 2

rte_memzone_lookupFunction · 0.85
measure_perf_getFunction · 0.85

Tested by

no test coverage detected