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

Function _graph_perf_wrapper

dpdk/app/test/test_graph_perf.c:612–626  ·  view source on GitHub ↗

Worker thread function */

Source from the content-addressed store, hash-verified

610
611/* Worker thread function */
612static int
613_graph_perf_wrapper(void *args)
614{
615 struct graph_lcore_data *data = args;
616 struct rte_graph *graph;
617
618 /* Lookup graph */
619 graph = rte_graph_lookup(rte_graph_id_to_name(data->graph_id));
620
621 /* Graph walk until done */
622 while (!data->done)
623 rte_graph_walk(graph);
624
625 return 0;
626}
627
628static int
629measure_perf_get(rte_graph_t graph_id)

Callers

nothing calls this directly

Calls 3

rte_graph_lookupFunction · 0.85
rte_graph_id_to_nameFunction · 0.85
rte_graph_walkFunction · 0.85

Tested by

no test coverage detected