Possible to speed up system clock?
-
Is it possible to (programmatically) make a computer's system clock (time) go a set amount faster, like making the computer's clock move 1100ms every real second so that for instance, if I started speeding it up at 10:00:00, the computer's clock reads 10:00:11 while my (correct) watch reads 10:00:10?
-
Is it possible to (programmatically) make a computer's system clock (time) go a set amount faster, like making the computer's clock move 1100ms every real second so that for instance, if I started speeding it up at 10:00:00, the computer's clock reads 10:00:11 while my (correct) watch reads 10:00:10?
Why would you want to do such a thing ? Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
Why would you want to do such a thing ? Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
More precisely, it is to affect Windows timers, so that timer events happen faster than they normally would. Beyond that, I don't know; I'm researching this for someone else, and that's all the info they've given me.
Since you are not dealing with a real-time OS, events are not going to happen exactly when you specify anyway. For example, the time specified in the call to
SetTimer()
is the minimum amount of time that must elapse before aWM_TIMER
message is sent to your application.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
More precisely, it is to affect Windows timers, so that timer events happen faster than they normally would. Beyond that, I don't know; I'm researching this for someone else, and that's all the info they've given me.
Tell them that they are lost at sea. There is no way this is the right approach to their problem. If they want the timer to fire more quickly, they should lower the interval at which it fires. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
Is it possible to (programmatically) make a computer's system clock (time) go a set amount faster, like making the computer's clock move 1100ms every real second so that for instance, if I started speeding it up at 10:00:00, the computer's clock reads 10:00:11 while my (correct) watch reads 10:00:10?
there are several ways to do this. the best one is manipulating the kernel-mode time management. Don't try it, just do it! ;-)
-
there are several ways to do this. the best one is manipulating the kernel-mode time management. Don't try it, just do it! ;-)