02f5e14b65
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> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
Kconfig | ||
README | ||
prj.conf | ||
testcase.yaml |
README
# Test a timer implementations variance and long term drift Records and calculates statistical values against a timer validating that. 1. Timer variance and standard deviation is below defined acceptable values. 2. Periodic timers do not drift in either direction from expected total time. Timers are meant to be precise and accurate. This test validates an implementation is both.