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:
mtklein 2014-06-17 07:06:29 -07:00 committed by Commit bot
parent da085e6ab3
commit 4c07b6b58f

View File

@ -71,6 +71,6 @@ double BenchSysTimer::endWall() {
} else {
uint64_t elapsedNano = elapsed * sTimebaseInfo.numer
/ sTimebaseInfo.denom;
return elapsedNano / 1000000;
return elapsedNano / 1000000.0;
}
}