Index: tools/VisualBench/TimingStateMachine.h |
diff --git a/tools/VisualBench/TimingStateMachine.h b/tools/VisualBench/TimingStateMachine.h |
index 69ea24337fb752894d32da698946285da862179c..5ec1313b1f65bf98f5998f487ad3240ed27493ea 100644 |
--- a/tools/VisualBench/TimingStateMachine.h |
+++ b/tools/VisualBench/TimingStateMachine.h |
@@ -39,6 +39,12 @@ public: |
ParentEvents nextFrame(SkCanvas* canvas, Benchmark* benchmark); |
/* |
+ * Before taking another sample, the owner can choose to prewarm or not |
+ */ |
+ void nextSampleWithPrewarm(); |
+ void nextSample(); |
+ |
+ /* |
* The caller should call this when they are ready to move to the next benchmark. The caller |
* must call this with the *last* benchmark so post draw hooks can be invoked |
*/ |