zpc930 / oolongengine

Automatically exported from code.google.com/p/oolongengine
0 stars 0 forks source link

Timer::GetAverageTimeValueInMS returns microseconds, not milliseconds #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Fire up example Skeleton 01
2. Look at the time it takes to draw the Cube
3. It's off by a factor of 1000

What is the expected output? What do you see instead?
expected 0.6ms, instead, I see 600ms

What version of the product are you using? On what operating system?
svn revision 214

Please provide any additional information below.
To fix, change the 1000 in the function return to 1000000.
Better yet, multiply by 0.000001 instead of dividing by 1000000.

Original issue reported on code.google.com by Steven.L...@gmail.com on 19 Jan 2011 at 10:19