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

Unified Diff: bench/GrOrderedSetBench.cpp

Issue 347823004: Remove Sk prefix from some bench classes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: SkGMBench -> GMBench 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
« no previous file with comments | « bench/GrMemoryPoolBench.cpp ('k') | bench/GrResourceCacheBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GrOrderedSetBench.cpp
diff --git a/bench/GrOrderedSetBench.cpp b/bench/GrOrderedSetBench.cpp
index 4d32f0dc041a8faccf5d61d9f95ffbe4b1941db8..dde1c4a3f0d64745e97cef374e0821aa147c97c7 100644
--- a/bench/GrOrderedSetBench.cpp
+++ b/bench/GrOrderedSetBench.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkRandom.h"
#include "SkString.h"
@@ -15,7 +15,7 @@
static const int NUM_ELEMENTS = 1000;
// Time how long it takes to build a set
-class GrOrderedSetBuildBench : public SkBenchmark {
+class GrOrderedSetBuildBench : public Benchmark {
public:
GrOrderedSetBuildBench() {
fName.append("ordered_set_build");
@@ -52,11 +52,11 @@ protected:
private:
SkString fName;
int fData[NUM_ELEMENTS];
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
// Time how long it takes to find elements in a set
-class GrOrderedSetFindBench : public SkBenchmark {
+class GrOrderedSetFindBench : public Benchmark {
public:
GrOrderedSetFindBench() {
fName.append("ordered_set_find");
@@ -93,11 +93,11 @@ private:
SkString fName;
int fData[NUM_ELEMENTS];
GrOrderedSet<int> fSet;
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
// Time how long it takes to iterate over and remove all elements from set
-class GrOrderedSetRemoveBench : public SkBenchmark {
+class GrOrderedSetRemoveBench : public Benchmark {
public:
GrOrderedSetRemoveBench() {
fName.append("ordered_set_remove");
@@ -137,7 +137,7 @@ protected:
private:
SkString fName;
GrOrderedSet<int> fSet;
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « bench/GrMemoryPoolBench.cpp ('k') | bench/GrResourceCacheBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698