Skip to content
Commit 02f5e14b authored by Peng Chen's avatar Peng Chen Committed by Fabio Baltieri
Browse files

test: timer: behavior: Enhancement for running this test



Zephyr timer is based on system ticks, there usually exists some time drift
due to round up/down errors between cycles, ticks and time delay, we
need to add those expected time drift into the bound calculation for
running this test.
Add a new config TIMER_TEST_PERIOD_MAX_DRIFT_PERCENT for users to set
expected maximum drift percentage for the timer period.

Signed-off-by: default avatarChen Peng1 <peng1.chen@intel.com>
parent 9dda350e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment