Home
last modified time | relevance | path

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

/Zephyr-latest/tests/boards/native_sim/cpu_wait/src/
Dmain.c49 #define WASTED_TIME 1000 /* 1ms */ macro
61 #if (WASTED_TIME > ONE_TICK_TIME/2)
94 k_busy_wait(WASTED_TIME); in thread_entry()
127 zassert_true(time2 - time1 == TWO_TICKS_TIME + WASTED_TIME, in ZTEST()
130 time2, time1, TWO_TICKS_TIME + WASTED_TIME); 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()
185 zassert_true(time2 - time1 == TWO_AND_HALF_TICKS + WASTED_TIME, in ZTEST()
188 time2, time1, TWO_AND_HALF_TICKS + WASTED_TIME); in ZTEST()
201 k_busy_wait(WASTED_TIME); in np_timer_isr_test_replacement()
[all …]