diff --git a/include/tz/core/time.hpp b/include/tz/core/time.hpp index 6eccc8e5f2..95ef9e4a50 100644 --- a/include/tz/core/time.hpp +++ b/include/tz/core/time.hpp @@ -4,8 +4,8 @@ namespace tz { - std::uint64_t system_millis(); - std::uint64_t system_nanos(); + std::uint64_t time_millis(); + std::uint64_t time_nanos(); } #endif // TOPAZ_CORE_TIME_HPP \ No newline at end of file diff --git a/src/tz/core/time.cpp b/src/tz/core/time.cpp index 8e32bc2dc7..b083855184 100644 --- a/src/tz/core/time.cpp +++ b/src/tz/core/time.cpp @@ -3,12 +3,12 @@ namespace tz { - std::uint64_t system_millis() + std::uint64_t time_millis() { return std::chrono::duration_cast(std::chrono::steady_clock::now().time_since_epoch()).count(); } - std::uint64_t system_nanos() + std::uint64_t time_nanos() { return std::chrono::duration_cast(std::chrono::steady_clock::now().time_since_epoch()).count(); }