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

Side by Side Diff: bench/BenchSysTimer_windows.h

Issue 99173003: Use lowercase windows.h in includes to fix Windows cross compilation using mingw. (Closed)
Patch Set: Created 7 years 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 | « no previous file | bench/BenchSysTimer_windows.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkBenchSysTimer_DEFINED 8 #ifndef SkBenchSysTimer_DEFINED
9 #define SkBenchSysTimer_DEFINED 9 #define SkBenchSysTimer_DEFINED
10 10
11 //Time 11 //Time
12 #define WIN32_LEAN_AND_MEAN 1 12 #define WIN32_LEAN_AND_MEAN 1
13 #include <Windows.h> 13 #include <windows.h>
14 14
15 class BenchSysTimer { 15 class BenchSysTimer {
16 public: 16 public:
17 void startWall(); 17 void startWall();
18 void startCpu(); 18 void startCpu();
19 double endCpu(); 19 double endCpu();
20 double endWall(); 20 double endWall();
21 private: 21 private:
22 ULONGLONG fStartCpu; 22 ULONGLONG fStartCpu;
23 LARGE_INTEGER fStartWall; 23 LARGE_INTEGER fStartWall;
24 }; 24 };
25 25
26 #endif 26 #endif
OLDNEW
« no previous file with comments | « no previous file | bench/BenchSysTimer_windows.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698