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 * | |
7 */ | 6 */ |
8 | 7 |
9 #ifndef TimingStateMachine_DEFINED | 8 #ifndef TimingStateMachine_DEFINED |
10 #define TimingStateMachine_DEFINED | 9 #define TimingStateMachine_DEFINED |
11 | 10 |
12 #include "Benchmark.h" | 11 #include "Benchmark.h" |
13 #include "SkTArray.h" | 12 #include "SkTArray.h" |
14 #include "Timer.h" | 13 #include "Timer.h" |
15 | 14 |
16 class SkCanvas; | 15 class SkCanvas; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 67 |
69 int fCurrentFrame; | 68 int fCurrentFrame; |
70 int fLoops; | 69 int fLoops; |
71 double fLastMeasurement; | 70 double fLastMeasurement; |
72 WallTimer fTimer; | 71 WallTimer fTimer; |
73 State fState; | 72 State fState; |
74 InnerState fInnerState; | 73 InnerState fInnerState; |
75 }; | 74 }; |
76 | 75 |
77 #endif | 76 #endif |
OLD | NEW |