Index: tools/bbh_shootout.cpp |
diff --git a/tools/bbh_shootout.cpp b/tools/bbh_shootout.cpp |
index 64fc6d87d8cd52db37a54c55d33c1d259570f661..e657917aad9029bf7945e76aa3bb7f92423366f0 100644 |
--- a/tools/bbh_shootout.cpp |
+++ b/tools/bbh_shootout.cpp |
@@ -5,7 +5,7 @@ |
* found in the LICENSE file. |
*/ |
-#include "Timer.h" |
+#include "BenchTimer.h" |
#include "Benchmark.h" |
#include "LazyDecodeBitmap.h" |
#include "PictureBenchmark.h" |
@@ -64,7 +64,7 @@ |
BBoxType bBoxType, |
SkPicture* pic, |
const int numRepeats, |
- Timer* timer) { |
+ BenchTimer* timer) { |
renderer->setBBoxHierarchyType(bBoxType); |
renderer->setGridSize(FLAGS_tilesize, FLAGS_tilesize); |
renderer->init(pic, NULL, NULL, NULL, false); |
@@ -106,14 +106,14 @@ |
if (!includeBBoxType[bBoxType]) { continue; } |
if (FLAGS_playback > 0) { |
sk_tools::TiledPictureRenderer playbackRenderer; |
- Timer playbackTimer; |
+ BenchTimer playbackTimer; |
do_benchmark_work(&playbackRenderer, (BBoxType)bBoxType, |
picture, FLAGS_playback, &playbackTimer); |
measurement.fPlaybackAverage[bBoxType] = playbackTimer.fCpu; |
} |
if (FLAGS_record > 0) { |
sk_tools::RecordPictureRenderer recordRenderer; |
- Timer recordTimer; |
+ BenchTimer recordTimer; |
do_benchmark_work(&recordRenderer, (BBoxType)bBoxType, |
picture, FLAGS_record, &recordTimer); |
measurement.fRecordAverage[bBoxType] = recordTimer.fCpu; |