projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da085e6
)
BenchSysTimer_mach drops all sub-ms precision. Fix that!
author
mtklein
<mtklein@chromium.org>
Tue, 17 Jun 2014 14:06:29 +0000
(07:06 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 17 Jun 2014 14:06:29 +0000
(07:06 -0700)
BUG=skia:
R=bungeman@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/
336903005
bench/BenchSysTimer_mach.cpp
patch
|
blob
|
history
diff --git
a/bench/BenchSysTimer_mach.cpp
b/bench/BenchSysTimer_mach.cpp
index
cf3f1c1
..
1f0a6b9
100644
(file)
--- a/
bench/BenchSysTimer_mach.cpp
+++ b/
bench/BenchSysTimer_mach.cpp
@@
-71,6
+71,6
@@
double BenchSysTimer::endWall() {
} else {
uint64_t elapsedNano = elapsed * sTimebaseInfo.numer
/ sTimebaseInfo.denom;
- return elapsedNano / 1000000;
+ return elapsedNano / 1000000
.0
;
}
}