Fix wall clock in bench system timer on Windows.

git-svn-id: http://skia.googlecode.com/svn/trunk@2503 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bungeman@google.com 2011-10-19 22:10:21 +00:00
parent f97c194df7
commit c961442926

View File

@ -58,6 +58,7 @@ double BenchSysTimer::endWall() {
return 0.0L;
} else {
return static_cast<double>(ticks_elapsed.QuadPart)
/ static_cast<double>(frequency.QuadPart * 1000);
/ static_cast<double>(frequency.QuadPart)
* 1000.0L;
}
}