Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: tools/VisualBench/TimingStateMachine.h

Issue 1427033003: DM+VB: WallTimer -> SkTime::GetNSecs(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweak Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « dm/DM.cpp ('k') | tools/VisualBench/TimingStateMachine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef TimingStateMachine_DEFINED 8 #ifndef TimingStateMachine_DEFINED
9 #define TimingStateMachine_DEFINED 9 #define TimingStateMachine_DEFINED
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 kTiming_InnerState, 60 kTiming_InnerState,
61 }; 61 };
62 62
63 inline double elapsed(); 63 inline double elapsed();
64 void resetTimingState(); 64 void resetTimingState();
65 void recordMeasurement(); 65 void recordMeasurement();
66 66
67 int fCurrentFrame; 67 int fCurrentFrame;
68 int fLoops; 68 int fLoops;
69 double fLastMeasurement; 69 double fLastMeasurement;
70 WallTimer fTimer; 70 double fStartTime;
71 State fState; 71 State fState;
72 InnerState fInnerState; 72 InnerState fInnerState;
73 }; 73 };
74 74
75 #endif 75 #endif
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | tools/VisualBench/TimingStateMachine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698