aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer/win32_query_perf_ctr/tm_win32.h
blob: 5bcb720ab141288a43c417e47d675a789e1a7f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Win32 Timer
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/

#ifndef BOTAN_TIMER_WIN32_H__
#define BOTAN_TIMER_WIN32_H__

#include <botan/timer.h>

namespace Botan {

/*
* Win32 Timer
*/
class BOTAN_DLL Win32_Timer : public Timer
   {
   public:
      std::string name() const { return "Win32 QueryPerformanceCounter"; }
      u64bit clock() const;
   };

}

#endif