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

Unified Diff: tools/timer/TimerData.h

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/timer/TimerData.h
diff --git a/bench/TimerData.h b/tools/timer/TimerData.h
similarity index 91%
rename from bench/TimerData.h
rename to tools/timer/TimerData.h
index fb84df1a9eb7950ea503fcadaaea11b6a384645b..35e94dca1db90459cd76685fa869c8c5b87d3ffe 100644
--- a/bench/TimerData.h
+++ b/tools/timer/TimerData.h
@@ -1,4 +1,3 @@
-
/*
* Copyright 2012 Google Inc.
*
@@ -23,7 +22,7 @@
#pragma warning(pop)
#endif
-class BenchTimer;
+class Timer;
class TimerData {
public:
@@ -33,12 +32,12 @@ public:
explicit TimerData(int maxNumTimings);
/**
- * Collect times from the BenchTimer for an iteration. It will fail if called more often than
+ * Collect times from the Timer for an iteration. It will fail if called more often than
* indicated in the constructor.
*
- * @param BenchTimer Must not be null.
+ * @param Timer Must not be null.
*/
- bool appendTimes(BenchTimer*);
+ bool appendTimes(Timer*);
enum Result {
kMin_Result,
« tools/timer/GpuTimer.cpp ('K') | « tools/timer/Timer.cpp ('k') | tools/timer/TimerData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698