Re: [PATCH] tests: drm_fdinfo: Fix zero tolerance checks

2024-09-30 Thread Janusz Krzysztofik
Hi Peter, On Monday, 30 September 2024 12:47:45 GMT+2 Peter Senna Tschudin wrote: > > On 16.09.2024 11:03, Janusz Krzysztofik wrote: > > When we expect an engine to be busy, we check if its reported busy time > > falls within a +/-5% tolerance range of measurement time period. > > However, when w

Re: [PATCH] tests: drm_fdinfo: Fix zero tolerance checks

2024-09-30 Thread Peter Senna Tschudin
On 16.09.2024 11:03, Janusz Krzysztofik wrote: > When we expect an engine to be busy, we check if its reported busy time > falls within a +/-5% tolerance range of measurement time period. > However, when we expect the engine to be idle, we compare its reported > busy time against zero, still wit

[PATCH] tests: drm_fdinfo: Fix zero tolerance checks

2024-09-16 Thread Janusz Krzysztofik
When we expect an engine to be busy, we check if its reported busy time falls within a +/-5% tolerance range of measurement time period. However, when we expect the engine to be idle, we compare its reported busy time against zero, still with a +/-5% tolerance range, but now calculated against the