aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar keyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-12 21:16:49 +0000
committerGravatar keyar@chromium.org <keyar@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-12 21:16:49 +0000
commitb5e30abbebd792982b0b3cf8380ec503b41049e4 (patch)
treeb7102fa7766f49297872155f6ad34d2f0fa94261
parent210acafc5207765e12474064aa01640d5af92770 (diff)
Changed cmsecs to msecs to be consistent with bench.
We are using wall time and not cpu time and so the proper name for this should probably be outputted. Review URL: https://codereview.appspot.com/6345104 git-svn-id: http://skia.googlecode.com/svn/trunk@4587 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--tools/bench_pictures_main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
index 1a1dad179c..b8a416652e 100644
--- a/tools/bench_pictures_main.cpp
+++ b/tools/bench_pictures_main.cpp
@@ -81,7 +81,7 @@ static void run_simple_benchmark(SkPicture* picture, const Options& options) {
}
timer.end();
- printf("simple: cmsecs = %6.2f\n", timer.fWall / options.fRepeats);
+ printf("simple: msecs = %6.2f\n", timer.fWall / options.fRepeats);
}
struct TileInfo {
@@ -150,7 +150,7 @@ static void run_tile_benchmark(SkPicture* picture, const Options& options) {
delete tiles[i].fBitmap;
}
- printf("%i_tiles_%ix%i: cmsecs = %6.2f\n", tiles.count(), options.fTileWidth,
+ printf("%i_tiles_%ix%i: msecs = %6.2f\n", tiles.count(), options.fTileWidth,
options.fTileHeight, timer.fWall / options.fRepeats);
}
@@ -179,7 +179,7 @@ static void run_pipe_benchmark(SkPicture* picture, const Options& options) {
}
timer.end();
- printf("pipe: cmsecs = %6.2f\n", timer.fWall / options.fRepeats);
+ printf("pipe: msecs = %6.2f\n", timer.fWall / options.fRepeats);
}
static void run_unflatten_benchmark(SkPicture* commands, const Options& options) {
@@ -202,7 +202,7 @@ static void run_unflatten_benchmark(SkPicture* commands, const Options& options)
}
}
- printf("unflatten: cmsecs = %6.4f\n", wall_time / options.fRepeats);
+ printf("unflatten: msecs = %6.4f\n", wall_time / options.fRepeats);
}
static void run_single_benchmark(const SkString& inputPath,