BenchSysTimer_mach drops all sub-ms precision. Fix that!
BUG=skia: R=bungeman@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/336903005
This commit is contained in:
parent
da085e6ab3
commit
4c07b6b58f
@ -71,6 +71,6 @@ double BenchSysTimer::endWall() {
|
||||
} else {
|
||||
uint64_t elapsedNano = elapsed * sTimebaseInfo.numer
|
||||
/ sTimebaseInfo.denom;
|
||||
return elapsedNano / 1000000;
|
||||
return elapsedNano / 1000000.0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user