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

Function rte_timer_reset_sync

dpdk/lib/timer/rte_timer.c:572–580  ·  view source on GitHub ↗

loop until rte_timer_reset() succeed */

Source from the content-addressed store, hash-verified

570
571/* loop until rte_timer_reset() succeed */
572void
573rte_timer_reset_sync(struct rte_timer *tim, uint64_t ticks,
574 enum rte_timer_type type, unsigned tim_lcore,
575 rte_timer_cb_t fct, void *arg)
576{
577 while (rte_timer_reset(tim, ticks, type, tim_lcore,
578 fct, arg) != 0)
579 rte_pause();
580}
581
582static int
583__rte_timer_stop(struct rte_timer *tim,

Callers 3

test_rte_timer_start_cbFunction · 0.85
mytimer_resetFunction · 0.85
telemetry_setup_timerFunction · 0.85

Calls 2

rte_timer_resetFunction · 0.85
rte_pauseFunction · 0.50

Tested by 2

test_rte_timer_start_cbFunction · 0.68
mytimer_resetFunction · 0.68