Home
last modified time | relevance | path

Searched refs:K_TICKS (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-Core-3.7.0/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c87 k_sleep(K_TICKS(2)); /* Helper runs for 2 ticks */ in ZTEST()
93 k_sleep(K_TICKS(2)); /* Idle for 2 ticks */ in ZTEST()
210 k_sleep(K_TICKS(5)); in ZTEST()
225 k_sleep(K_TICKS(2)); in ZTEST()
233 k_sleep(K_TICKS(2)); in ZTEST()
416 k_sleep(K_TICKS(1)); in ZTEST()
423 priority + 2, 0, K_TICKS(1)); in ZTEST()
427 k_timer_start(&timer, K_TICKS(1), K_TICKS(10)); in ZTEST()
488 k_sleep(K_TICKS(20)); in ZTEST()
491 k_sleep(K_TICKS(1)); in ZTEST()
/Zephyr-Core-3.7.0/soc/st/stm32/stm32wbax/hci_if/
Dstm32_timer.c42 k_timer_start(&timer, K_TICKS(timer_object->ReloadValue), in UTIL_TIMER_Start()
43 K_TICKS(timer_object->ReloadValue)); in UTIL_TIMER_Start()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/eatt_notif/src/
Dclient_test.c130 k_sleep(K_TICKS(1)); in send_notification()
205 k_sleep(K_TICKS(1)); in test_main()
223 k_sleep(K_TICKS(1)); in test_main()
235 k_sleep(K_TICKS(1)); in test_main()
Dserver_test.c205 k_sleep(K_TICKS(1)); in test_main()
/Zephyr-Core-3.7.0/subsys/portability/cmsis_rtos_v2/
Dtimer.c93 k_timer_start(&timer->z_timer, K_TICKS(ticks), K_NO_WAIT); in osTimerStart()
96 K_TICKS(ticks), K_TICKS(ticks)); in osTimerStart()
Dkernel.c128 k_sleep(K_TICKS(ticks)); in osDelay()
145 k_sleep(K_TICKS(ticks - ticks_elapsed)); in osDelayUntil()
Dmsgq.c112 K_TICKS(timeout)); in osMessageQueuePut()
150 K_TICKS(timeout)); in osMessageQueueGet()
Dmutex.c83 K_TICKS(timeout)); in osMutexAcquire()
Dsemaphore.c80 K_TICKS(timeout)); in osSemaphoreAcquire()
Dmempool.c120 (void **)&ptr, K_TICKS(timeout)); in osMemoryPoolAlloc()
/Zephyr-Core-3.7.0/tests/kernel/workq/work/src/
Dmain.c174 k_timer_start(&async_releaser, K_TICKS(1), K_NO_WAIT); in async_release()
307 k_sleep(K_TICKS(1)); in ZTEST()
373 k_sleep(K_TICKS(1)); in ZTEST()
405 k_sleep(K_TICKS(1)); in ZTEST()
483 k_sleep(K_TICKS(1)); in ZTEST()
518 k_sleep(K_TICKS(1)); in ZTEST()
648 k_sleep(K_TICKS(1)); in ZTEST()
702 k_sleep(K_TICKS(1)); in ZTEST()
765 k_sleep(K_TICKS(1)); in ZTEST()
995 k_sleep(K_TICKS(1)); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/subsys/testsuite/include/zephyr/
Dtimestamp.h26 #define TICK_SYNCH() k_sleep(K_TICKS(1))
/Zephyr-Core-3.7.0/tests/kernel/common/src/
Dirq_offload.c93 k_timer_start(&nestoff_timer, K_TICKS(1), K_FOREVER); in offload_thread_fn()
/Zephyr-Core-3.7.0/samples/subsys/logging/syst/src/
Dmain.c94 k_sleep(K_TICKS(10)); in log_msgs()
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/futex/src/
Dmain.c72 atomic_get(&simple_futex.val), K_TICKS(time_val)); in futex_wait_task()
113 atomic_get(&simple_futex.val), K_TICKS(time_val)); in futex_wait_wake_task()
156 atomic_get(&(multiple_futex[idx].val)), K_TICKS(time_val)); in futex_multiple_wait_wake_task()
/Zephyr-Core-3.7.0/kernel/
Dtimeslicing.c76 K_TICKS(slice_time(thread) - 1)); in z_reset_time_slice()
Dtimeout.c327 return K_TICKS(remaining); in sys_timepoint_timeout()
/Zephyr-Core-3.7.0/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c184 k_sleep(K_TICKS(slice_ticks * (NUM_THREAD + 1))); in ZTEST()
/Zephyr-Core-3.7.0/tests/kernel/condvar/condvar_api/src/
Dmain.c68 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_task()
117 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_wake_task()
332 &test_mutex, K_TICKS(time_val)); in condvar_multiple_wait_wake_task()
/Zephyr-Core-3.7.0/samples/bluetooth/hci_spi/src/
Dmain.c329 k_sleep(K_TICKS(1)); in main()
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c148 k_sleep(K_TICKS(1)); in do_test_using()
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_api/src/
Dmain.c255 K_TICKS(k_ms_to_ticks_floor32(DURATION) in ZTEST_USER()
293 K_TICKS(k_ms_to_ticks_floor32(DURATION) - in ZTEST_USER()
/Zephyr-Core-3.7.0/subsys/logging/
Dlog_core.c739 *backoff = K_TICKS(diff); in z_log_msg_claim_oldest()
741 *backoff = K_TICKS((diff * sys_clock_hw_cycles_per_sec()) / in z_log_msg_claim_oldest()
/Zephyr-Core-3.7.0/tests/kernel/ipi_optimize/src/
Dmain.c139 k_sleep(K_TICKS(1)); in busy_threads_create()
/Zephyr-Core-3.7.0/subsys/net/lib/zperf/
Dzperf_udp_uploader.c252 k_sleep(K_TICKS(delay)); in udp_upload()

12