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

Function rte_timer_init

dpdk/lib/timer/rte_timer.c:206–214  ·  view source on GitHub ↗

Initialize the timer handle tim for use */

Source from the content-addressed store, hash-verified

204
205/* Initialize the timer handle tim for use */
206void
207rte_timer_init(struct rte_timer *tim)
208{
209 union rte_timer_status status;
210
211 status.state = RTE_TIMER_STOP;
212 status.owner = RTE_TIMER_NO_OWNER;
213 rte_atomic_store_explicit(&tim->status.u32, status.u32, rte_memory_order_relaxed);
214}
215
216/*
217 * if timer is pending or stopped (or running on the same core than

Callers 14

init_clockFunction · 0.85
__swtim_arm_burstFunction · 0.85
eth_ena_dev_initFunction · 0.85
test_timer_secondaryFunction · 0.85
timer_stress2_main_loopFunction · 0.85
timer_basic_cbFunction · 0.85
test_timerFunction · 0.85
test_timer_racecondFunction · 0.85
test_timer_perfFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 7

test_timer_secondaryFunction · 0.68
timer_stress2_main_loopFunction · 0.68
timer_basic_cbFunction · 0.68
test_timerFunction · 0.68
test_timer_racecondFunction · 0.68
test_timer_perfFunction · 0.68