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

Side by Side Diff: tools/timer/Timer.h

Issue 853883004: Revert of Sketch DM refactor. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months 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 | « tools/flags/SkCommonFlags.cpp ('k') | tools/timer/Timer.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 2011 Google Inc. 2 * Copyright 2011 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 #ifndef Timer_DEFINED 7 #ifndef Timer_DEFINED
8 #define Timer_DEFINED 8 #define Timer_DEFINED
9 9
10 #include "SkTypes.h" 10 #include "SkTypes.h"
11 #include "SkString.h"
12 11
13 #if defined(SK_BUILD_FOR_WIN32) 12 #if defined(SK_BUILD_FOR_WIN32)
14 #include "SysTimer_windows.h" 13 #include "SysTimer_windows.h"
15 #elif defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) 14 #elif defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
16 #include "SysTimer_mach.h" 15 #include "SysTimer_mach.h"
17 #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) 16 #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
18 #include "SysTimer_posix.h" 17 #include "SysTimer_posix.h"
19 #endif 18 #endif
20 19
21 #if SK_SUPPORT_GPU 20 #if SK_SUPPORT_GPU
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 63
65 void start(); 64 void start();
66 void end(); 65 void end();
67 66
68 double fWall; // Milliseconds. 67 double fWall; // Milliseconds.
69 68
70 private: 69 private:
71 SysTimer fSysTimer; 70 SysTimer fSysTimer;
72 }; 71 };
73 72
74 SkString HumanizeMs(double);
75
76 #endif 73 #endif
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlags.cpp ('k') | tools/timer/Timer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698