Updated by cpepy to lock timer by refreshing setting every 1.5ms in a background task. Does not take any more system resources.
Little tool to get and set the windows system timer values. It uses the following WinAPI methods to retrieve and set the values:
NtQueryTimerResolution
NtSetTimerResolution
TimeBeginPeriod
TimeEndPeriod
It can also set 0.5 ms as timer resolution.
Verison 4 minimizes to system tray and can be started with command line arguments "-t peroidVal" and "-minimized". e.g. put a .bat file into your autostart with the following code:
C:\PathToTool\TimerTool.exe -t 0.5 -minimized
Or if you want to run it automatically at startup and hide the cmd after execution, update the bat file from above and replace with:
start "" "C:\PathToTool\TimerTool.exe" -t 0.5 -minimized
exit
If you find this useful, please donate some dev bucks to original dev on PayPal, thanks!