I am using Juce’s Time::getMillisecondCounterHiRes in a real-time audio application to time control events.
I noticed that the current win32 implementation relies on QueryPerformanceCounter which, according to a microsoft KB article can sporadically leap several seconds forward under heavy PCI load, with certain chipsets.
The article can be found here:
So far, everything works fine on my machines, but I was wondering if the proposed microsoft fix (checking QueryPerformanceCounter return value against GetTickCount’s one) could be added to the juce code base. This would make real-time juce applications more robust, even on crappy machines…