Da ne bude da lažem evo šta piše na jednom od onih slajdova sa Meltdown 2005
Citat:
Use QueryPerformanceFrequency every few frames to handle power management clock rate changes
Možda iz Microsofta lažu:)
To u stvari može da znači da je stvar još gora, ne samo da igra možda neće da radi na nekom notebook računaru nego je moguće da ovo ne funkcioniše ni na stonim mašinama, niti postoji garancija da će na budućim procesorima da radi.
Između ostalog u dokumentaciji piše:
Citat:
The QueryPerformanceFrequency function retrieves the frequency of the high-resolution performance counter, if one exists.
Ako postoji, što verovatno znači da postoji mogućnost da uopšte ne postoji.
U dokumentacji još i piše
Citat:
timeGetTime
The timeGetTime function retrieves the system time, in milliseconds. The system time is the time elapsed since Windows was started.
DWORD timeGetTime(VOID);
......
Return Values
Returns the system time, in milliseconds.
......
Windows NT/2000: The default precision of the timeGetTime function can be five milliseconds or more, depending on the machine.
Windows 95: The default precision of the timeGetTime function is 1 millisecond.
Pošto pretportavljam da nikome ne treba 1000 frejmova u s. logično je da nije preporučljivo da se koriste nesigurna rešenja kao gore navedeno.