Jump to content











Photo
- - - - -

System Clock Speed Adjustment


  • Please log in to reply
No replies to this topic

#1 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 18 October 2012 - 08:31 PM

Posted Image

File Name: System Clock Speed Adjustment
File Submitter: joakim
File Submitted: 18 Oct 2012
File Updated: 19 Oct 2012
File Category: Miscellaneous

A commandline and a GUI application to provide a means of manipulating the speed of the system clock.

Some Microsoft documentation is available from the winapi functions SetSystemTimeAdjustment; http://msdn.microsof...3(v=vs.85).aspx and GetSystemTimeAdjustment; http://msdn.microsof...4(v=vs.85).aspx

May or may not be interesting. Just some strange and fun stuff, I created some time ago.

TimeAdjustmentCMD

Has 2 switches:
-g Dump current values
-s Set new values. The -s switch also needs 2 parameters, the new Adjustment value and the new Disable value

Example to dump current config:

TimeAdjustmentCMD.exe -g


Example to revert to systems own internal timesynchronization mechanism:


TimeAdjustmentCMD.exe -s 0 1


Example to set TimeAdjustment value to 10 (veery slow):


TimeAdjustmentCMD.exe -s 10 0


Example to set TimeAdjustment value to 1000000000 (extremely fast):


TimeAdjustmentCMD.exe -s 1000000000 0



TimeAdjustmentGUI

Has 4 main functionalities.
1. Displays current values for TimeIncrement, TimeAdjustment and Disable when program is started.
2. Use slider to configure new values from very slow to very fast system clock. Use button "Set new TimeAdjustment" to activate new values.
3. Restore initial values when program was started, by clicking the button "Restore initial values".
4. Manually set new TimeAdjustment values by filling in the input field at the bottom, and clicking the button "Set value manually".

All new values will be displayed in the field after "New adjusted value:".

The system clock can be frozen by a value of 1. A very high value will make the system clock go grazy.

A reboot of the system, will normalize your system clock in case you mess it up and are not able to set it back again.

Both apps tested ok on Windows 7 x64.

Click here to download this file




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users