From 7c7f73b508000b03a2b90ecbcb98388a75eb1a7e Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Wed, 12 Jun 2024 11:26:09 +0800 Subject: [PATCH] feat use system_clock --- tile/base/chrono.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tile/base/chrono.cc b/tile/base/chrono.cc index 1b70e0b..f0c6a45 100644 --- a/tile/base/chrono.cc +++ b/tile/base/chrono.cc @@ -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(CLOCK_REALTIME); - // return std::chrono::system_clock::now(); + // return ReadClock(CLOCK_REALTIME); + return std::chrono::system_clock::now(); } std::chrono::steady_clock::time_point ReadCoarseSteadyClock() {