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

Function rte_timer_pending

dpdk/lib/timer/rte_timer.c:646–651  ·  view source on GitHub ↗

Test the PENDING status of the timer handle tim */

Source from the content-addressed store, hash-verified

644
645/* Test the PENDING status of the timer handle tim */
646int
647rte_timer_pending(struct rte_timer *tim)
648{
649 return rte_atomic_load_explicit(&tim->status.state,
650 rte_memory_order_relaxed) == RTE_TIMER_PENDING;
651}
652
653/* must be called periodically, run all timer that expired */
654static void

Callers 3

timer_stress_cbFunction · 0.85
timer_basic_cbFunction · 0.85
worker_main_loopFunction · 0.85

Calls

no outgoing calls

Tested by 3

timer_stress_cbFunction · 0.68
timer_basic_cbFunction · 0.68
worker_main_loopFunction · 0.68