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

Function graph_get_node_data

dpdk/app/test/test_graph_perf.c:62–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62static struct test_node_data *
63graph_get_node_data(struct test_graph_perf *graph_data, rte_node_t id)
64{
65 struct test_node_data *node_data = NULL;
66 int i;
67
68 for (i = 0; i < graph_data->nb_nodes; i++)
69 if (graph_data->node_data[i].node_id == id) {
70 node_data = &graph_data->node_data[i];
71 break;
72 }
73
74 return node_data;
75}
76
77static int
78test_node_ctx_init(const struct rte_graph *graph, struct rte_node *node)

Callers 2

test_node_ctx_initFunction · 0.85
graph_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected