Home
last modified time | relevance | path

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

/Zephyr-latest/tests/boards/native_sim/cpu_wait/src/
Dmain.c25 uint32_t wait_times[] = {1, 30, 0, 121, 10000}; in ZTEST() local
28 for (int i = 0; i < ARRAY_SIZE(wait_times); i++) { in ZTEST()
29 k_busy_wait(wait_times[i]); in ZTEST()
31 zassert_true(time2 - time1 == wait_times[i], in ZTEST()
34 time2, time1, wait_times[i]); in ZTEST()
38 for (int i = 0; i < ARRAY_SIZE(wait_times); i++) { in ZTEST()
39 posix_cpu_hold(wait_times[i]); in ZTEST()
41 zassert_true(time2 - time1 == wait_times[i], in ZTEST()
44 time2, time1, wait_times[i]); in ZTEST()