Home
last modified time | relevance | path

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

/Zephyr-latest/tests/benchmarks/footprints/src/
Dtimer.c13 #define PERIOD 50 macro
60 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn()
62 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in thread_fn()
66 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn()
73 k_timer_start(&timer0, K_MSEC(DURATION), K_MSEC(PERIOD)); in thread_fn()
75 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in thread_fn()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c18 #define PERIOD 50 macro
122 TIMER_ASSERT(interval_check(interval, PERIOD), timer); in duration_expire()
145 TIMER_ASSERT(k_timer_remaining_get(timer) >= PERIOD, timer); in status_expire()
190 k_timer_start(&duration_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
191 busy_wait_ms(DURATION + PERIOD * EXPIRE_TIMES + PERIOD / 2); in ZTEST_USER()
196 k_timer_start(&duration_timer, K_FOREVER, K_MSEC(PERIOD)); in ZTEST_USER()
220 K_MSEC(PERIOD)); in ZTEST_USER()
221 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
225 K_MSEC(PERIOD)); in ZTEST_USER()
330 k_timer_start(&expire_timer, K_MSEC(DURATION), K_MSEC(PERIOD)); in ZTEST_USER()
[all …]
/Zephyr-latest/samples/net/lwm2m_client/src/
Dtemperature.c21 #define PERIOD K_MINUTES(2) macro
51 k_work_schedule(&temp_work, PERIOD); in temp_work_cb()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dtimer.c11 #define PERIOD 500 macro
82 timerDelay = PERIOD; in ZTEST()
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/
Dmain.c16 #define PERIOD 50 macro