aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/os_utils.h
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/lib/utils/os_utils.h
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/lib/utils/os_utils.h')
-rw-r--r--src/lib/utils/os_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/os_utils.h b/src/lib/utils/os_utils.h
index 39e30fcb7..24cbdd5a3 100644
--- a/src/lib/utils/os_utils.h
+++ b/src/lib/utils/os_utils.h
@@ -46,7 +46,7 @@ bool running_in_privileged_state();
* Currently supported processors are x86, PPC, Alpha, SPARC, IA-64, S/390x, and HP-PA.
* If no CPU cycle counter is available on this system, returns zero.
*/
-uint64_t BOTAN_TEST_API get_processor_timestamp();
+uint64_t BOTAN_TEST_API get_cpu_cycle_counter();
/*
* @return best resolution timestamp available