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:
parent
b0585be1c4
commit
5a7f80feb3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue