commit | bdc275956ced4258f09cf67a0da70aa2a8573078 | [log] [tgz] |
---|---|---|
author | Ryan Powell <ryanpow@google.com> | Wed Sep 04 22:59:39 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 04 22:59:39 2019 |
tree | f9e5eff4fd7864540692cdba2d7e87253b0ef25c | |
parent | 0f742e0d1457e805bc6a2f5ef07b52e029494b76 [diff] |
Fix MultiSourceMemoryPressureMonitor metrics recording. Updates the MultiSourceMemoryPressureMonitor's timer to use a callback to a new function, RecordCurrentPressureLevel, as the previous implementation bound the MemoryPressureLevel observed at the time at which the timer was started, meaning the same level was recorded every time the timer went off. Bug: 980965 Change-Id: I2bcab3631bd0f0185bcb054bf28e748a35cd72d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1785258 Commit-Queue: Ryan Powell <ryanpow@google.com> Reviewed-by: Sébastien Marchand <sebmarchand@chromium.org> Cr-Commit-Position: refs/heads/master@{#693415}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .