aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/nanobench.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/nanobench.h')
-rw-r--r--bench/nanobench.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bench/nanobench.h b/bench/nanobench.h
index ffd6893c4a..45882cc043 100644
--- a/bench/nanobench.h
+++ b/bench/nanobench.h
@@ -79,6 +79,9 @@ struct Target {
/** Writes any config-specific data to the log. */
virtual void fillOptions(ResultsWriter*) { }
+ /** Writes gathered stats using SkDebugf. */
+ virtual void dumpStats() {}
+
SkCanvas* getCanvas() const {
if (!surface.get()) {
return nullptr;