Kyselin joskus muinoin miten saisi nopeamman kellon windowsiin. Löysin keinon miten sen saa 1ms mutta sitä tiuhempaan pitää kikkailla.
Oletus Windowsissa on 7.8ms joten 10ms pyyntö toimii sellaisenaan.
Tällaisen kun pistää boot.ini:iin niin pitäisi toimia. TOki tuo HAL pitää olla käytössä.
/TIMERES=
Sets the resolution of the system timer on the standard x86 multiprocessor HAL (Halmps.dll). The argument is a number interpreted in hundreds of nanoseconds, but the rate is set to the closest resolution the HAL supports that isn't larger than the one requested. The HAL supports the following resolutions: Hundreds of nanoseconds Milliseconds (ms) 9766 0.98 19532 2.00 39063 3.90 78125 7.80 The default resolution is 7.8 ms. The system timer resolution affects the resolution of waitable timers. Example: /TIMERES=21000 would set the timer to a resolution of 2.0 ms.
Oletus Windowsissa on 7.8ms joten 10ms pyyntö toimii sellaisenaan.
Tällaisen kun pistää boot.ini:iin niin pitäisi toimia. TOki tuo HAL pitää olla käytössä.
/TIMERES=
Sets the resolution of the system timer on the standard x86 multiprocessor HAL (Halmps.dll). The argument is a number interpreted in hundreds of nanoseconds, but the rate is set to the closest resolution the HAL supports that isn't larger than the one requested. The HAL supports the following resolutions: Hundreds of nanoseconds Milliseconds (ms) 9766 0.98 19532 2.00 39063 3.90 78125 7.80 The default resolution is 7.8 ms. The system timer resolution affects the resolution of waitable timers. Example: /TIMERES=21000 would set the timer to a resolution of 2.0 ms.
Vastaukset 1
Vanhimmat
vähän hitaampi kello nopeimmillaan kuin prosessorin kellotaajuus, koska soveluksen pitää välillä ajaa ittiäänkin?