tests: kernel: usage: Relax timing requirements for RISCV

Test was previously relaxed for RISCV machine timer. I have a
platform where it fails on RISCV requiring further relaxation.
Relaxing precision for RISCV architecture.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2023-03-24 09:03:01 +01:00 committed by Anas Nashif
parent b0585be1c4
commit 5a7f80feb3
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@
((((val1) * 100) < ((val2) * (100 + (pcnt)))) && \
(((val1) * 100) > ((val2) * (100 - (pcnt))))) ? true : false
#if defined(CONFIG_RISCV_MACHINE_TIMER)
#define IDLE_EVENT_STATS_PRECISION 5
#if defined(CONFIG_RISCV)
#define IDLE_EVENT_STATS_PRECISION 7
#else
#define IDLE_EVENT_STATS_PRECISION 1
#endif