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:
parent
f97c194df7
commit
c961442926
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user