summaryrefslogtreecommitdiffstats
path: root/old/botan/src/timer/win32_query_perf_ctr/tm_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'old/botan/src/timer/win32_query_perf_ctr/tm_win32.h')
-rw-r--r--old/botan/src/timer/win32_query_perf_ctr/tm_win32.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/old/botan/src/timer/win32_query_perf_ctr/tm_win32.h b/old/botan/src/timer/win32_query_perf_ctr/tm_win32.h
new file mode 100644
index 0000000..5bcb720
--- /dev/null
+++ b/old/botan/src/timer/win32_query_perf_ctr/tm_win32.h
@@ -0,0 +1,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