summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTakuto Ikuta <tikuta@google.com>2017-04-12 04:42:15 (GMT)
committerTakuto Ikuta <tikuta@google.com>2017-04-12 04:42:15 (GMT)
commit03d0a8befea74d5fb5f0735aee6acb722c2da36b (patch)
treece1dfec6c29cf9f2ceb3c3ad4c3298955b46e31a /src
parent12ca62107dc6a2b8e996e30fa7bd8c7b90e5ded2 (diff)
downloadNinja-03d0a8befea74d5fb5f0735aee6acb722c2da36b.zip
Ninja-03d0a8befea74d5fb5f0735aee6acb722c2da36b.tar.gz
Ninja-03d0a8befea74d5fb5f0735aee6acb722c2da36b.tar.bz2
use us
Diffstat (limited to 'src')
-rw-r--r--src/clparser_perftest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clparser_perftest.cc b/src/clparser_perftest.cc
index f106b64..101a4e2 100644
--- a/src/clparser_perftest.cc
+++ b/src/clparser_perftest.cc
@@ -147,8 +147,8 @@ int main(int argc, char* argv[]) {
if (end - start > 100) {
int delta_ms = (int)(end - start);
- printf("Parse %d times in %dms avg %.1fms\n",
- limit, delta_ms, float(delta_ms) / limit);
+ printf("Parse %d times in %dms avg %.1fus\n",
+ limit, delta_ms, float(delta_ms * 1000) / limit);
break;
}
}