Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mem_slab/mslab_api/src/
Dtest_mslab_api.c76 int64_t tms; in tmslab_alloc_timeout() local
88 tms = k_uptime_get(); in tmslab_alloc_timeout()
97 zassert_true(k_uptime_delta(&tms) >= TIMEOUT); in tmslab_alloc_timeout()
101 zassert_true(k_uptime_delta(&tms) < TIMEOUT); in tmslab_alloc_timeout()
/Zephyr-latest/tests/kernel/context/src/
Dmain.c261 int tms, tms2; in _test_kernel_cpu_idle() local
265 tms = k_uptime_get_32(); in _test_kernel_cpu_idle()
266 while (tms == k_uptime_get_32()) { in _test_kernel_cpu_idle()
270 tms = k_uptime_get_32(); in _test_kernel_cpu_idle()
280 tms += k_ticks_to_ms_floor64(1); in _test_kernel_cpu_idle()
282 zassert_false(tms2 < tms, "Bad ms per tick value computed," in _test_kernel_cpu_idle()
284 tms2, tms); in _test_kernel_cpu_idle()