new user here, but i'd hazzard a guess that ticks, startMSTimer and stopMSTimer are the functions you would want to look at. tossing zeros into a loop would have variable results on different systems, after all.. ;)
new user here, but i'd hazzard a guess that ticks, startMSTimer and stopMSTimer are the functions you would want to look at. tossing zeros into a loop would have variable results on different systems, after all.. ;)
Sleep is the operation you want. I was making a joke about tossing extra loop iterations in somewhere :-).
Posts: 836
Joined: 2007-06-29
Location: United States
daggaz wrote:
new user here, but i'd hazzard a guess that ticks, startMSTimer and stopMSTimer are the functions you would want to look at. tossing zeros into a loop would have variable results on different systems, after all.. ;)
Andy's right- use Sleep. These functions are more for measuring elapsed time, not for pausing execution.
Joined: 2007-09-11
Location: Australia
Excellent, reminds me of this article:
http://thedailywtf.com/Articles/The-Speedup-Loop.aspx
Joined: 2012-04-18
Location: Denmark
new user here, but i'd hazzard a guess that ticks, startMSTimer and stopMSTimer are the functions you would want to look at. tossing zeros into a loop would have variable results on different systems, after all.. ;)
Joined: 2007-09-11
Location: Australia
Sleep is the operation you want. I was making a joke about tossing extra loop iterations in somewhere :-).
Joined: 2007-06-29
Location: United States
Andy's right- use Sleep. These functions are more for measuring elapsed time, not for pausing execution.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com