TrueTime mis-calculates processor speed and timing of functions



When I run in TrueTime, my processor speed is off, for example 9Mhz on a 400Mhz processor.  The timing I get in the "Real" column is also off.  For example a run that took a total of 60sec says that one of the functions took on average 430 sec, why?


We calculate time using cycles/sec.  If you have a system (such as a laptop) that has Power Management enabled, this can throw off our calculations of cycles/sec.  If this happens, then not only will our calculations of the speed of your processor be thrown off, but our calculations of timing will be thrown off as well.  The workaround is to Shut off Power Management.

Old KB# 11461
Comment List
Related Discussions