Index: bench/BenchTimer.h |
diff --git a/bench/BenchTimer.h b/bench/BenchTimer.h |
index 79e1036c527294e871f24ebbc79e178da2f6ffa2..09950a734be956934c96de59c233186a3c4293ca 100644 |
--- a/bench/BenchTimer.h |
+++ b/bench/BenchTimer.h |
@@ -29,7 +29,7 @@ class BenchTimer { |
public: |
BenchTimer(SkGLContextHelper* gl = NULL); |
~BenchTimer(); |
- void start(); |
+ void start(double durationScale = 1); |
void end(); |
void truncatedEnd(); |
double fCpu; |
@@ -44,6 +44,7 @@ private: |
#if SK_SUPPORT_GPU |
BenchGpuTimer *fGpuTimer; |
#endif |
+ double fDurationScale; // for this start/end session |
}; |
#endif |