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

Function swtim_stats_get

dpdk/lib/eventdev/rte_event_timer_adapter.c:1116–1123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1114}
1115
1116static int
1117swtim_stats_get(const struct rte_event_timer_adapter *adapter,
1118 struct rte_event_timer_adapter_stats *stats)
1119{
1120 struct swtim *sw = swtim_pmd_priv(adapter);
1121 *stats = sw->stats; /* structure copy */
1122 return 0;
1123}
1124
1125static int
1126swtim_stats_reset(const struct rte_event_timer_adapter *adapter)

Callers

nothing calls this directly

Calls 1

swtim_pmd_privFunction · 0.85

Tested by

no test coverage detected