| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 * | 6 * |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef VisualLightweightBenchModule_DEFINED | 9 #ifndef VisualLightweightBenchModule_DEFINED |
| 10 #define VisualLightweightBenchModule_DEFINED | 10 #define VisualLightweightBenchModule_DEFINED |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 inline void renderFrame(SkCanvas*); | 40 inline void renderFrame(SkCanvas*); |
| 41 | 41 |
| 42 struct Record { | 42 struct Record { |
| 43 SkTArray<double> fMeasurements; | 43 SkTArray<double> fMeasurements; |
| 44 }; | 44 }; |
| 45 int fCurrentSample; | 45 int fCurrentSample; |
| 46 SkTArray<Record> fRecords; | 46 SkTArray<Record> fRecords; |
| 47 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; | 47 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; |
| 48 SkAutoTUnref<Benchmark> fBenchmark; | 48 SkAutoTUnref<Benchmark> fBenchmark; |
| 49 TimingStateMachine fTSM; | 49 TimingStateMachine fTSM; |
| 50 bool fHasBeenReset; |
| 50 | 51 |
| 51 // support framework | 52 // support framework |
| 52 SkAutoTUnref<VisualBench> fOwner; | 53 SkAutoTUnref<VisualBench> fOwner; |
| 53 SkAutoTDelete<ResultsWriter> fResults; | 54 SkAutoTDelete<ResultsWriter> fResults; |
| 54 | 55 |
| 55 typedef VisualModule INHERITED; | 56 typedef VisualModule INHERITED; |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 #endif | 59 #endif |
| OLD | NEW |