feat use system_clock
This commit is contained in:
parent
ab8c2bf2cc
commit
7c7f73b508
@ -118,8 +118,8 @@ std::chrono::steady_clock::time_point ReadSteadyClock() {
|
||||
return std::chrono::steady_clock::now();
|
||||
}
|
||||
std::chrono::system_clock::time_point ReadSystemClock() {
|
||||
return ReadClock<std::chrono::system_clock>(CLOCK_REALTIME);
|
||||
// return std::chrono::system_clock::now();
|
||||
// return ReadClock<std::chrono::system_clock>(CLOCK_REALTIME);
|
||||
return std::chrono::system_clock::now();
|
||||
}
|
||||
|
||||
std::chrono::steady_clock::time_point ReadCoarseSteadyClock() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user