aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ResultsWriter.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-12-04 08:46:51 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-04 08:46:51 -0800
commit051e56df8f14fae68f0e990f78b85494c2ce4a6b (patch)
treedec51eb5dd9f68d62e7112308ef428006b6c3c69 /bench/ResultsWriter.h
parenteeb6f0c3c0eed1673d0d335666e78e65243a411b (diff)
Upload picture byte size and op count metrics for SKP recording.
Look okay? { "results" : { "desk_amazon.skp_1264_3999" : { "nonrendering" : { "bytes" : 75656, "max_ms" : 1.150187, "mean_ms" : 1.150187, "median_ms" : 1.150187, "min_ms" : 1.150187, "ops" : 659, "options" : { "bench_type" : "recording", "clip" : "0 0 1000 1000", "name" : "desk_amazon.skp", "scale" : "1", "source_type" : "skp" } } }, ... BUG=skia: Review URL: https://codereview.chromium.org/773323002
Diffstat (limited to 'bench/ResultsWriter.h')
-rw-r--r--bench/ResultsWriter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/ResultsWriter.h b/bench/ResultsWriter.h
index b8d97075a1..f53a980de4 100644
--- a/bench/ResultsWriter.h
+++ b/bench/ResultsWriter.h
@@ -34,7 +34,7 @@ public:
virtual void property(const char name[], const char value[]) {}
// Denote the start of a specific benchmark. Once bench is called,
- // then config and timer can be called multiple times to record runs.
+ // then config and metric can be called multiple times to record runs.
virtual void bench(const char name[], int32_t x, int32_t y) {}
// Record the specific configuration a bench is run under, such as "8888".
@@ -44,7 +44,7 @@ public:
virtual void configOption(const char name[], const char* value) {}
// Record a single test metric.
- virtual void timer(const char name[], double ms) {}
+ virtual void metric(const char name[], double ms) {}
// Flush to storage now please.
virtual void flush() {}
@@ -105,7 +105,7 @@ public:
virtual void configOption(const char name[], const char* value) {
(*fConfig)["options"][name] = value;
}
- virtual void timer(const char name[], double ms) {
+ virtual void metric(const char name[], double ms) {
// Don't record if nan, or -nan.
if (sk_double_isnan(ms)) {
return;