diff options
-rw-r--r-- | src/timer/cpu_counter/tm_hard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timer/cpu_counter/tm_hard.h b/src/timer/cpu_counter/tm_hard.h index ec5268085..03f508575 100644 --- a/src/timer/cpu_counter/tm_hard.h +++ b/src/timer/cpu_counter/tm_hard.h @@ -16,6 +16,12 @@ namespace Botan { class BOTAN_DLL Hardware_Timer : public Timer { public: + /* + @todo: Add sync(Timer& wall_clock, bool milliseconds) which busy + loops using wall_clock and tries to guess the tick rate of the + hardware counter, allowing it to be used for benchmarks, etc + */ + std::string name() const { return "Hardware Timer"; } u64bit clock() const; }; |