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
This commit is contained in:
parent
210acafc52
commit
b5e30abbeb
@ -81,7 +81,7 @@ static void run_simple_benchmark(SkPicture* picture, const Options& options) {
|
|||||||
}
|
}
|
||||||
timer.end();
|
timer.end();
|
||||||
|
|
||||||
printf("simple: cmsecs = %6.2f\n", timer.fWall / options.fRepeats);
|
printf("simple: msecs = %6.2f\n", timer.fWall / options.fRepeats);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct TileInfo {
|
struct TileInfo {
|
||||||
@ -150,7 +150,7 @@ static void run_tile_benchmark(SkPicture* picture, const Options& options) {
|
|||||||
delete tiles[i].fBitmap;
|
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);
|
options.fTileHeight, timer.fWall / options.fRepeats);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ static void run_pipe_benchmark(SkPicture* picture, const Options& options) {
|
|||||||
}
|
}
|
||||||
timer.end();
|
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) {
|
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,
|
static void run_single_benchmark(const SkString& inputPath,
|
||||||
|
Loading…
Reference in New Issue
Block a user