aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-23 14:42:49 -0500
committerJack Lloyd <[email protected]>2018-12-23 14:42:49 -0500
commitf7f42d07187b357dc5b4c3de53f29af88bd07eb6 (patch)
tree2979a79abf3446a5c231da8707f084bb685998ae /src/cli
parent716005aa4283c962dfe1478e4ee85bef5cfda293 (diff)
Rename OS::get_processor_timestamp to OS::get_cpu_cycle_counter
Using phrase "timestamp" makes it sound like it has some relation to wall clock which it does not.
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/speed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index d18cab99a..84d8d5679 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -440,7 +440,7 @@ class Speed final : public Command
m_clock_cycle_ratio = 1.0 / m_clock_cycle_ratio;
- if(m_clock_speed != 0 && Botan::OS::get_processor_timestamp() != 0)
+ if(m_clock_speed != 0 && Botan::OS::get_cpu_cycle_counter() != 0)
{
error_output() << "The --cpu-clock-speed option is only intended to be used on "
"platforms without access to a cycle counter.\n"