Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/kernel/workq/work/src/
Dmain.c25 #define DELAY_MS 100 macro
26 #define DELAY_TIMEOUT K_MSEC(DELAY_MS)
185 k_sleep(K_MSEC(DELAY_MS)); in delay_handler()
342 } while (k_work_is_pending(&common_work) && (delay < DELAY_MS)); in ZTEST()
513 rc = k_work_schedule_for_queue(&coophi_queue, &dwork, K_MSEC(DELAY_MS)); in ZTEST()
593 rc = k_work_schedule_for_queue(&coophi_queue, &dwork, K_MSEC(DELAY_MS)); in ZTEST()
620 rc = k_work_schedule_for_queue(&coophi_queue, &dwork, K_MSEC(DELAY_MS)); in ZTEST()
832 && (delay < DELAY_MS)); in ZTEST()
981 + k_ms_to_ticks_ceil32(DELAY_MS)); in ZTEST()
997 rc = k_work_schedule_for_queue(&coophi_queue, &dwork, K_MSEC(DELAY_MS)); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/counter/counter_seconds/src/
Dmain.c20 #define DELAY_MS 1200 /* pause 1.2 seconds should always pass */ macro
35 k_msleep(DELAY_MS); in ZTEST()
/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_apis.c248 #define DELAY_MS 1000 macro
254 osDelay(k_ms_to_ticks_ceil32(DELAY_MS)); in thread5()
299 zassert_true((milliseconds_spent >= DELAY_MS - DELTA_MS) && in ZTEST()
300 (milliseconds_spent <= DELAY_MS + DELTA_MS), in ZTEST()
320 osDelay(k_ms_to_ticks_ceil32(DELAY_MS - DELTA_MS)); in ZTEST()
353 osDelay(k_ms_to_ticks_ceil32(DELAY_MS - DELTA_MS)); in ZTEST()
375 osDelay(k_ms_to_ticks_ceil32(DELAY_MS - DELTA_MS)); in ZTEST()