commit | 02f5e14b65bd902c2dafb1bd1eb8e46936252109 | [log] [tgz] |
---|---|---|
author | Chen Peng1 <peng1.chen@intel.com> | Mon Sep 19 15:02:17 2022 +0800 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Sep 21 18:43:11 2022 +0000 |
tree | 5ceac17896e9755ac58e947fc63a7d08f831f47b | |
parent | 9dda350e24b8977ba564e525804b71564637ec5b [diff] |
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: Chen Peng1 <peng1.chen@intel.com>