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

Unified Diff: bench/MemoryBench.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/MemcpyBench.cpp ('k') | bench/MemsetBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/MemoryBench.cpp
diff --git a/bench/MemoryBench.cpp b/bench/MemoryBench.cpp
index 19919ab635e5b180aadb20a4018d4cebfdcfa8bb..3fc46dccf4da000f4318bbb1fc84dd4b58e8b817 100644
--- a/bench/MemoryBench.cpp
+++ b/bench/MemoryBench.cpp
@@ -5,14 +5,14 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkCanvas.h"
+#include "SkChunkAlloc.h"
#include "SkPaint.h"
#include "SkRandom.h"
-#include "SkChunkAlloc.h"
#include "SkString.h"
-class ChunkAllocBench : public SkBenchmark {
+class ChunkAllocBench : public Benchmark {
SkString fName;
size_t fMinSize;
public:
@@ -50,7 +50,7 @@ protected:
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
DEF_BENCH( return new ChunkAllocBench(64); )
@@ -67,7 +67,7 @@ static int* malloc_bzero(size_t num) {
return ints;
}
-class ZerosBench : public SkBenchmark {
+class ZerosBench : public Benchmark {
size_t fNum;
bool fRead;
bool fWrite;
« no previous file with comments | « bench/MemcpyBench.cpp ('k') | bench/MemsetBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698