aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer/cpu_counter/tm_hard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer/cpu_counter/tm_hard.h')
-rw-r--r--src/timer/cpu_counter/tm_hard.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/timer/cpu_counter/tm_hard.h b/src/timer/cpu_counter/tm_hard.h
new file mode 100644
index 000000000..ec5268085
--- /dev/null
+++ b/src/timer/cpu_counter/tm_hard.h
@@ -0,0 +1,25 @@
+/*************************************************
+* Hardware Timer Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_TIMER_HARDWARE_H__
+#define BOTAN_TIMER_HARDWARE_H__
+
+#include <botan/timer.h>
+
+namespace Botan {
+
+/*************************************************
+* Hardware Timer *
+*************************************************/
+class BOTAN_DLL Hardware_Timer : public Timer
+ {
+ public:
+ std::string name() const { return "Hardware Timer"; }
+ u64bit clock() const;
+ };
+
+}
+
+#endif