aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/Benchmark.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-09-10 12:05:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-10 12:05:59 -0700
commit962890568ddac03d8eb8467a2e81b6f2b7f046f0 (patch)
tree3c421543ad42d20082ef0d6f1d8e2d6cec1ed4cc /bench/Benchmark.cpp
parent579b4fb92e78634c84670f0e09844de0478f8ffe (diff)
Distinguish common and unique names for skiaperf.com.
Turns out we tack on the size post-facto in ResultsWriter::bench(), so the only place we need getUniqueName() to differ from getName() is SKPBench. BUG=skia: R=jcgregorio@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/552303004
Diffstat (limited to 'bench/Benchmark.cpp')
-rw-r--r--bench/Benchmark.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/Benchmark.cpp b/bench/Benchmark.cpp
index 04223dca43..9205ba97c9 100644
--- a/bench/Benchmark.cpp
+++ b/bench/Benchmark.cpp
@@ -24,6 +24,10 @@ const char* Benchmark::getName() {
return this->onGetName();
}
+const char* Benchmark::getUniqueName() {
+ return this->onGetUniqueName();
+}
+
SkIPoint Benchmark::getSize() {
return this->onGetSize();
}