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

Function rte_graph_has_stats_feature

dpdk/lib/graph/rte_graph.h:685–693  ·  view source on GitHub ↗

* Test stats feature support. * * @return * 1 if stats enabled, 0 otherwise. */

Source from the content-addressed store, hash-verified

683 * 1 if stats enabled, 0 otherwise.
684 */
685static __rte_always_inline int
686rte_graph_has_stats_feature(void)
687{
688#ifdef RTE_LIBRTE_GRAPH_STATS
689 return RTE_LIBRTE_GRAPH_STATS;
690#else
691 return 0;
692#endif
693}
694
695#ifdef __cplusplus
696}

Callers 6

__rte_node_processFunction · 0.85
measure_perf_getFunction · 0.85
test_print_statsFunction · 0.85
l3fwd_pattern_configureFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 2

measure_perf_getFunction · 0.68
test_print_statsFunction · 0.68