diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2022-01-16 14:01:36 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2022-01-16 14:01:36 -0800 |
commit | 5806f26e603150889d7b7e044cd8fb685c832f4e (patch) | |
tree | e60b0a64a2b342e96f6b886ec3e2e453e494e567 /runtime/jit/profile_saver.cc | |
parent | aa20688e701376b1a4cfffc6284721819806cb90 (diff) | |
parent | f9da627a42193f596d33d799bf323fced18214c5 (diff) |
Merge f9da627a42193f596d33d799bf323fced18214c5 on remote branch
Change-Id: Iaf48868208da271af8b4536f089c44bf4412cc9e
Diffstat (limited to 'runtime/jit/profile_saver.cc')
-rw-r--r-- | runtime/jit/profile_saver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/profile_saver.cc b/runtime/jit/profile_saver.cc index 425eadca41..b86badcba5 100644 --- a/runtime/jit/profile_saver.cc +++ b/runtime/jit/profile_saver.cc @@ -189,7 +189,7 @@ void ProfileSaver::Run() { // We might have been woken up by a huge number of notifications to guarantee saving. // If we didn't meet the minimum saving period go back to sleep (only if missed by // a reasonable margin). - uint64_t min_save_period_ns = options_.GetMinSavePeriodMs(); + uint64_t min_save_period_ns = MsToNs(options_.GetMinSavePeriodMs()); while (min_save_period_ns * 0.9 > sleep_time) { { MutexLock mu(self, wait_lock_); |