An assertion statement was a bit too strict. Period drift may come about not only from kernel ticks being large but also from time conversion being inexact due to division truncation. Fixes: #55136 Signed-off-by: Nicolas Pitre <npitre@baylibre.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||
| prj.conf | ||
| README | ||
| testcase.yaml | ||
# 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.