refactor: Replace GetTimeMicros by SystemClock

This commit is contained in:
MarcoFalke
2023-03-09 14:53:36 +01:00
parent 8d12127a9c
commit faf3f12424
3 changed files with 9 additions and 13 deletions

View File

@@ -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) {