tests: kernel: thread_runtime_stats: Relax precision test for QEMU
This commit relaxes the idle event statistics test precision requirement for emulated QEMU targets because the cycle counts may be inaccurate when the host CPU is overloaded (e.g. when running tests with twister) and a high failure rate is observed for this test in the CI. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
c64d0b9ce5
commit
cb81b295e0
|
@ -17,6 +17,8 @@
|
|||
|
||||
#if defined(CONFIG_RISCV)
|
||||
#define IDLE_EVENT_STATS_PRECISION 7
|
||||
#elif defined(CONFIG_QEMU_TARGET)
|
||||
#define IDLE_EVENT_STATS_PRECISION 3
|
||||
#else
|
||||
#define IDLE_EVENT_STATS_PRECISION 1
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue