mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
refactor: Replace GetTimeMicros by SystemClock
This commit is contained in:
parent
8d12127a9c
commit
faf3f12424
3 changed files with 9 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue