feat use system_clock

This commit is contained in:
tqcq 2024-06-12 11:26:09 +08:00
parent ab8c2bf2cc
commit 7c7f73b508

View File

@ -118,8 +118,8 @@ std::chrono::steady_clock::time_point ReadSteadyClock() {
return std::chrono::steady_clock::now(); return std::chrono::steady_clock::now();
} }
std::chrono::system_clock::time_point ReadSystemClock() { std::chrono::system_clock::time_point ReadSystemClock() {
return ReadClock<std::chrono::system_clock>(CLOCK_REALTIME); // return ReadClock<std::chrono::system_clock>(CLOCK_REALTIME);
// return std::chrono::system_clock::now(); return std::chrono::system_clock::now();
} }
std::chrono::steady_clock::time_point ReadCoarseSteadyClock() { std::chrono::steady_clock::time_point ReadCoarseSteadyClock() {