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

Function swtim_stats_reset

dpdk/lib/eventdev/rte_event_timer_adapter.c:1125–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123}
1124
1125static int
1126swtim_stats_reset(const struct rte_event_timer_adapter *adapter)
1127{
1128 struct swtim *sw = swtim_pmd_priv(adapter);
1129 memset(&sw->stats, 0, sizeof(sw->stats));
1130 return 0;
1131}
1132
1133static int
1134swtim_remaining_ticks_get(const struct rte_event_timer_adapter *adapter,

Callers

nothing calls this directly

Calls 2

swtim_pmd_privFunction · 0.85
memsetFunction · 0.85

Tested by

no test coverage detected