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.h24
1 files changed, 24 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..678513f81
--- /dev/null
+++ b/src/timer/cpu_counter/tm_hard.h
@@ -0,0 +1,24 @@
+/*************************************************
+* Hardware Timer Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_TIMER_HARDWARE_H__
+#define BOTAN_TIMER_HARDWARE_H__
+
+#include <botan/timers.h>
+
+namespace Botan {
+
+/*************************************************
+* Hardware Timer *
+*************************************************/
+class Hardware_Timer : public Timer
+ {
+ public:
+ u64bit clock() const;
+ };
+
+}
+
+#endif