Originally Posted by SDPhantom
Edit: I found the problem, the great minds at Blizzard decided to screw up the function GetTime() so the value returned only updates once every frame.
|
Yep, you can either use time(), which only has second precision, or debugprofilestart()/debugprofilestop() which has sub-millisecond precision but might interfere with legitimate debug timers.