Home
last modified time | relevance | path

Searched refs:EXPIRE_TIMES (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c19 #define EXPIRE_TIMES 4 macro
125 if (tdata.expire_cnt >= EXPIRE_TIMES) { in duration_expire()
147 if (tdata.expire_cnt >= EXPIRE_TIMES) { in status_expire()
191 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()
193 TIMER_ASSERT(tdata.expire_cnt == EXPIRE_TIMES, &duration_timer); in ZTEST_USER()
221 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
331 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()
395 for (int i = 0; i < EXPIRE_TIMES; i++) { in ZTEST_USER()
472 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
475 TIMER_ASSERT(k_timer_status_get(&status_anytime_timer) == EXPIRE_TIMES, in ZTEST_USER()
[all …]
/Zephyr-latest/tests/benchmarks/footprints/src/
Dtimer.c14 #define EXPIRE_TIMES 4 macro
62 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in thread_fn()
75 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in thread_fn()