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

Function test_graph_walk

dpdk/app/test/test_graph.c:872–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870}
871
872static int
873test_graph_walk(void)
874{
875 struct rte_graph *graph = rte_graph_lookup("worker0");
876 int i;
877
878 if (!graph) {
879 printf("Graph lookup failed\n");
880 return -1;
881 }
882
883 for (i = 0; i < 5; i++)
884 rte_graph_walk(graph);
885 return 0;
886}
887
888static int
889test_graph_lookup_functions(void)

Callers

nothing calls this directly

Calls 3

rte_graph_lookupFunction · 0.85
rte_graph_walkFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected