Searched refs:slop (Results 1 – 2 of 2) sorted by relevance
92 int64_t slop = INEXACT_MS_CONVERT ? 1 : 0; in interval_check() local102 slop += 2 * k_ticks_to_ms_ceil32(1); in interval_check()105 if (!WITHIN_ERROR(interval, desired, slop)) { in interval_check()808 int slop = MAX(2, k_us_to_ticks_ceil32(250)); in ZTEST_USER() local810 zassert_true(late >= 0 && late <= slop, in ZTEST_USER()828 zassert_true(late >= 0 && late <= slop, in ZTEST_USER()
228 uint32_t slop = 1 + k_ms_to_ticks_ceil32(1); in _test_kernel_cpu_idle() local252 zassert_true(abs((int32_t) (dt - dur)) <= slop, in _test_kernel_cpu_idle()885 int slop = MAX(k_ticks_to_ms_floor64(2), 1); in thread_sleep() local887 if (timestamp < timeout || timestamp > timeout + slop) { in thread_sleep()