Lines Matching +full:no +full:- +full:multithreading
4 * SPDX-License-Identifier: Apache-2.0
20 #define WITHIN_ERROR(var, target, epsilon) (llabs((int64_t) ((target) - (var))) <= (epsilon))
32 /* On Nordic SOCs one or both of the tick and busy-wait clocks may
33 * derive from sources that have slews that sum to +/- 13%.
99 * one-ticks deltas (NOT one two-tick delta!) in interval_check()
221 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
239 * Basically, acting as one-shot timer.
256 - BUSY_SLEW_THRESHOLD_TICKS(DURATION in ZTEST_USER()
259 /* Need to wait at least 2 durations to ensure one-shot behavior. */ in ZTEST_USER()
262 /** TESTPOINT: ensure it is one-shot timer */ in ZTEST_USER()
276 * Basically, acting as one-shot timer.
293 K_TICKS(k_ms_to_ticks_floor32(DURATION) - in ZTEST_USER()
298 /* Need to wait at least 2 durations to ensure one-shot behavior. */ in ZTEST_USER()
301 /** TESTPOINT: ensure it is one-shot timer */ in ZTEST_USER()
415 && (delta == period_ms - 1)), in ZTEST_USER()
472 busy_wait_ms(DURATION + PERIOD * (EXPIRE_TIMES - 1) + PERIOD / 2); in ZTEST_USER()
598 timer == user_data_timer[4] ? 4 : -1; in user_data_timer_handler()
600 if (timer_num == -1) { in user_data_timer_handler()
610 * @brief Test user-specific data associated with timer
612 * Validate user-specific data associated with timer
668 * Starts a timer, busy-waits for half the DURATION, then checks the
670 * should reflect the passage of at least the busy-wait interval.
724 delta_ticks = (int32_t)(rem_ticks - target_rem_ticks); in ZTEST_USER()
737 * by the kernel timer and the one used for busy-waiting may be skewed. in ZTEST_USER()
739 zassert_true(((int64_t)exp_ticks - (int64_t)now) in ZTEST_USER()
769 * makes this math exact, no slop is needed. Note that time in ZTEST_USER()
790 t0+rem_ticks-exp_ticks); in ZTEST_USER()
799 /* k_sleep is not supported when multithreading is off. */ in ZTEST_USER()
817 k_ticks_t late = end - (start + sleep_ticks); in ZTEST_USER()
836 late = end - (start + sleep_ticks); in ZTEST_USER()