Searched refs:tms (Results 1 – 2 of 2) sorted by relevance
76 int64_t tms; in tmslab_alloc_timeout() local88 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()
261 int tms, tms2; in _test_kernel_cpu_idle() local265 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()