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

Function test_timer_arm

dpdk/app/test/test_event_timer_adapter.c:585–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585static inline int
586test_timer_arm(void)
587{
588 TEST_ASSERT_SUCCESS(_arm_timers(20, MAX_TIMERS),
589 "Failed to arm timers");
590 TEST_ASSERT_SUCCESS(_wait_timer_triggers(10, MAX_TIMERS, 0),
591 "Timer triggered count doesn't match arm count");
592 return TEST_SUCCESS;
593}
594
595static inline int
596test_timer_arm_periodic(void)

Callers

nothing calls this directly

Calls 2

_arm_timersFunction · 0.85
_wait_timer_triggersFunction · 0.85

Tested by

no test coverage detected