[PATCH v2] ntdll/tests: Add RtlQueryPerformanceCounter tests.

Rémi Bernon rbernon at codeweavers.com
Thu Apr 29 03:59:00 CDT 2021


On 4/29/21 10:56 AM, Francois Gouget wrote:
> Hi,
> 
> This patch introduced two new test failures:
> 
> https://test.winehq.org/data/patterns.html#ntdll:time
> 
> 
> * One happens on the localized TestBot VMs but is random. It was
>    also reported against v1 of this patch but not v2 because...
>    random! It's strange that it only hits some localized VMs but not all.
> 
>    ntdll:
>    time.c:178: Test failed: unexpected QpcSystemTimeIncrement 80057c7cf37fda44, expected 1<<63
> 
>    I actually created a bug report for it a while back:
>    https://bugs.winehq.org/show_bug.cgi?id=50989
> 
> 
> * The other is systematic and so may be easier to debug but it only
>    happens on the real hardware WineTest machines: cw-gtx560 and
>    cw-rx460.
> 
>    time.c:204: Test failed: unexpected QpcInterruptTimeIncrementShift 105, expected 2
>    time.c:206: Test failed: unexpected QpcSystemTimeIncrementShift 9, expected 2
> 
>    Let me know if you need me to run tests on these.
> 
> 

I think we should actually remove these tests, I'll send a patch.

I've been doing a few more tests lately on a VM and these values are 
actually not fixed at all. Afaics they change with time, but not very 
frequently, cycling between apparently random values and often getting 
back to 1<<63.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list