aboutsummaryrefslogtreecommitdiffstats
path: root/Attic/timer/posix_rt/tm_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'Attic/timer/posix_rt/tm_posix.h')
-rw-r--r--Attic/timer/posix_rt/tm_posix.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Attic/timer/posix_rt/tm_posix.h b/Attic/timer/posix_rt/tm_posix.h
new file mode 100644
index 000000000..8bedccfa2
--- /dev/null
+++ b/Attic/timer/posix_rt/tm_posix.h
@@ -0,0 +1,27 @@
+/*
+* POSIX Timer
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_TIMER_POSIX_H__
+#define BOTAN_TIMER_POSIX_H__
+
+#include <botan/timer.h>
+
+namespace Botan {
+
+/*
+* POSIX Timer
+*/
+class BOTAN_DLL POSIX_Timer : public Timer
+ {
+ public:
+ std::string name() const { return "POSIX clock_gettime"; }
+ u64bit clock() const;
+ };
+
+}
+
+#endif