diff options
| author | Nicolas Geoffray <ngeoffray@google.com> | 2021-09-04 13:34:18 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-09-04 13:34:18 +0000 |
| commit | e3b02a4c074cf1575fd6c983cff8a8089fdfb4b1 (patch) | |
| tree | 58b262bd389c742cd7e8e9b91af072ae38fcb915 | |
| parent | 4952dee34d19e2fe068e84fd1511b3a613b824f9 (diff) | |
| parent | d971d7e57687e51071583cbcb2acaabf8cdb6074 (diff) | |
Fix missing MsToNs in profile saver. am: d971d7e576
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15754306
Change-Id: Icf48ea03173c98b1d6cd4e8faddb72c2912c782b
| -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_); |
