aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-03-09 14:53:36 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-03-09 15:05:11 +0100
commitfaf3f12424fa8558e65fa3f1dd3aa1d0eea8604e (patch)
treed0a29883cfc45ba7a2e56234938083dda597d24a /src/util/time.cpp
parent8d12127a9c19cb218d661a88ab9b6871c9d853b9 (diff)
refactor: Replace GetTimeMicros by SystemClock
Diffstat (limited to 'src/util/time.cpp')
-rw-r--r--src/util/time.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/time.cpp b/src/util/time.cpp
index 58200c83fc..fb9bc34931 100644
--- a/src/util/time.cpp
+++ b/src/util/time.cpp
@@ -107,11 +107,6 @@ int64_t GetTimeMillis()
return int64_t{GetSystemTime<std::chrono::milliseconds>().count()};
}
-int64_t GetTimeMicros()
-{
- return int64_t{GetSystemTime<std::chrono::microseconds>().count()};
-}
-
int64_t GetTime() { return GetTime<std::chrono::seconds>().count(); }
std::string FormatISO8601DateTime(int64_t nTime) {