aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SortBench.cpp
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-06-19 12:32:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-19 12:32:29 -0700
commitf168b86d7fafc5c20c87bebc6fd393cb17e120ca (patch)
tree9a1b1cff3725cc6cc030657fd83b5dca12137d86 /bench/SortBench.cpp
parent8e80d17d2b63fa84081236012f31bb10c58d344d (diff)
Remove Sk prefix from some bench classes.
This idea came while commenting on https://codereview.chromium.org/343583005/ Since SkBenchmark, SkBenchLogger and SkGMBench are not part of the Skia library, they should not have the Sk prefix. BUG=None TEST=make all R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/347823004
Diffstat (limited to 'bench/SortBench.cpp')
-rw-r--r--bench/SortBench.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/bench/SortBench.cpp b/bench/SortBench.cpp
index 1f888f2462..a7e8c2cd0b 100644
--- a/bench/SortBench.cpp
+++ b/bench/SortBench.cpp
@@ -5,10 +5,10 @@
* found in the LICENSE file.
*/
-#include "SkBenchmark.h"
+#include "Benchmark.h"
#include "SkRandom.h"
-#include "SkTSort.h"
#include "SkString.h"
+#include "SkTSort.h"
static const int N = 1000;
@@ -96,7 +96,7 @@ static const struct {
{ "qsort", qsort_sort },
};
-class SortBench : public SkBenchmark {
+class SortBench : public Benchmark {
SkString fName;
const Type fType;
const SortProc fSortProc;
@@ -136,18 +136,18 @@ protected:
}
private:
- typedef SkBenchmark INHERITED;
+ typedef Benchmark INHERITED;
};
///////////////////////////////////////////////////////////////////////////////
-static SkBenchmark* NewSkQSort(Type t) {
+static Benchmark* NewSkQSort(Type t) {
return new SortBench(t, kSKQSort);
}
-static SkBenchmark* NewSkHeap(Type t) {
+static Benchmark* NewSkHeap(Type t) {
return new SortBench(t, kSKHeap);
}
-static SkBenchmark* NewQSort(Type t) {
+static Benchmark* NewQSort(Type t) {
return new SortBench(t, kQSort);
}