main
Igor Canadi 10 years ago
parent 001ce64dc7
commit 965d9d50b8
  1. 4
      util/env_posix.cc

@ -1351,8 +1351,8 @@ class PosixEnv : public Env {
} }
virtual uint64_t NowMicros() { virtual uint64_t NowMicros() {
return std::chrono::duration_cast<std::chrono::milliseconds>( return std::chrono::duration_cast<std::chrono::microseconds>(
std::chrono::steady_clock::now().time_since_epoch()).count(); std::chrono::system_clock::now().time_since_epoch()).count();
} }
virtual uint64_t NowNanos() { virtual uint64_t NowNanos() {

Loading…
Cancel
Save