Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tools/DumpRecord.cpp

Issue 344213003: Move BenchTimer to tools as Timer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixes Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/DumpRecord.cpp
diff --git a/tools/DumpRecord.cpp b/tools/DumpRecord.cpp
index 2376fb9cf08b5d6edb1663d9b7e2456d8b89c752..6e679a5430a4269855c905b1e18a4b7680bd1398 100644
--- a/tools/DumpRecord.cpp
+++ b/tools/DumpRecord.cpp
@@ -10,8 +10,8 @@
#include "SkRecord.h"
#include "SkRecordDraw.h"
-#include "BenchTimer.h"
#include "DumpRecord.h"
+#include "Timer.h"
namespace {
@@ -33,7 +33,7 @@ public:
template <typename T>
void operator()(const T& command) {
- BenchTimer timer;
+ Timer timer;
timer.start();
fDraw(command);
timer.end();

Powered by Google App Engine
This is Rietveld 408576698