diff options
Diffstat (limited to 'old/botan/src/timer/gettimeofday/tm_unix.h')
-rw-r--r-- | old/botan/src/timer/gettimeofday/tm_unix.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/old/botan/src/timer/gettimeofday/tm_unix.h b/old/botan/src/timer/gettimeofday/tm_unix.h new file mode 100644 index 0000000..c304dbb --- /dev/null +++ b/old/botan/src/timer/gettimeofday/tm_unix.h @@ -0,0 +1,27 @@ +/* +* Unix Timer +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#ifndef BOTAN_TIMER_UNIX_H__ +#define BOTAN_TIMER_UNIX_H__ + +#include <botan/timer.h> + +namespace Botan { + +/* +* Unix Timer +*/ +class BOTAN_DLL Unix_Timer : public Timer + { + public: + std::string name() const { return "Unix gettimeofday"; } + u64bit clock() const; + }; + +} + +#endif |