Home
last modified time | relevance | path

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

/Zephyr-latest/tests/boards/native_sim/cpu_wait/src/
Dmain.c57 #define TWO_TICKS_TIME (2*1000000ul / CONFIG_SYS_CLOCK_TICKS_PER_SEC) macro
119 k_busy_wait(TWO_TICKS_TIME + 1); in ZTEST()
127 zassert_true(time2 - time1 == TWO_TICKS_TIME + WASTED_TIME, in ZTEST()
130 time2, time1, TWO_TICKS_TIME + WASTED_TIME); in ZTEST()
158 posix_cpu_hold(TWO_TICKS_TIME + 1); in ZTEST()
165 zassert_true(time2 - time1 == TWO_TICKS_TIME + WASTED_TIME + 1, in ZTEST()
168 time2, time1, TWO_TICKS_TIME + WASTED_TIME + 1); in ZTEST()