aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/timer/cpu_counter/tm_hard.h1
-rw-r--r--src/utils/timer/gettimeofday/tm_unix.h1
-rw-r--r--src/utils/timer/posix_rt/tm_posix.h1
-rw-r--r--src/utils/timer/win32_query_perf_ctr/tm_win32.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/timer/cpu_counter/tm_hard.h b/src/utils/timer/cpu_counter/tm_hard.h
index 1ed100bad..436cec22c 100644
--- a/src/utils/timer/cpu_counter/tm_hard.h
+++ b/src/utils/timer/cpu_counter/tm_hard.h
@@ -16,6 +16,7 @@ namespace Botan {
class BOTAN_DLL Hardware_Timer : public Timer
{
public:
+ std::string name() const { return "Hardware Timer"; }
u64bit clock() const;
};
diff --git a/src/utils/timer/gettimeofday/tm_unix.h b/src/utils/timer/gettimeofday/tm_unix.h
index 65c86b396..1b6c935a3 100644
--- a/src/utils/timer/gettimeofday/tm_unix.h
+++ b/src/utils/timer/gettimeofday/tm_unix.h
@@ -16,6 +16,7 @@ namespace Botan {
class BOTAN_DLL Unix_Timer : public Timer
{
public:
+ std::string name() const { return "Unix gettimeofday"; }
u64bit clock() const;
};
diff --git a/src/utils/timer/posix_rt/tm_posix.h b/src/utils/timer/posix_rt/tm_posix.h
index 7393646e1..0aee67abb 100644
--- a/src/utils/timer/posix_rt/tm_posix.h
+++ b/src/utils/timer/posix_rt/tm_posix.h
@@ -16,6 +16,7 @@ namespace Botan {
class BOTAN_DLL POSIX_Timer : public Timer
{
public:
+ std::string name() const { return "POSIX clock_gettime"; }
u64bit clock() const;
};
diff --git a/src/utils/timer/win32_query_perf_ctr/tm_win32.h b/src/utils/timer/win32_query_perf_ctr/tm_win32.h
index 09f30de4b..916bf2127 100644
--- a/src/utils/timer/win32_query_perf_ctr/tm_win32.h
+++ b/src/utils/timer/win32_query_perf_ctr/tm_win32.h
@@ -16,6 +16,7 @@ namespace Botan {
class BOTAN_DLL Win32_Timer : public Timer
{
public:
+ std::string name() const { return "Win32 QueryPerformanceCounter"; }
u64bit clock() const;
};