1 /*
2  * Copyright 2011 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 #ifndef SysTimer_DEFINED
8 #define SysTimer_DEFINED
9 
10 //Time
11 #define WIN32_LEAN_AND_MEAN 1
12 #include <windows.h>
13 
14 class SysTimer {
15 public:
16     void startWall();
17     void startCpu();
18     double endCpu();
19     double endWall();
20 private:
21     ULONGLONG fStartCpu;
22     unsigned __int64 fStartWall;
23 };
24 
25 #endif
26