commit | 00e61aea44faf32b9d661e452e5c145ae16df06d | [log] [tgz] |
---|---|---|
author | Ryan Powell <ryanpow@google.com> | Wed Sep 04 18:33:44 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 04 18:33:44 2019 |
tree | 4260be5f40e266949d64f5012b88c9e128b65354 | |
parent | fc5325951307b371946357d93bbb15da0501473b [diff] |
Create SystemMemoryPressureEvaluator from CastMemoryPressureMonitor. This CL creates the SystemMemoryPressureEvaluator for Chromecast as part of a refactoring of the MemoryPressureMonitor to use the Voter-Aggregator design described here: https://docs.google.com/document/d/1W3FPDyjIAKBcFGNYsHA3EKR1FHrJlbBaqT4_RUnxzq0/edit?ts=5d3f5714#heading=h.7nki9mck5t64 This Evaluator calculates memory pressure and emits notifications identically to the previous Monitor, but does so by casting its votes for memory pressure through a MemoryPressureVoter. Bug: 980965 Change-Id: I5fa312fd3519134919aadcfa1e8944a7c932b59a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1758331 Reviewed-by: Sean Topping <seantopping@chromium.org> Reviewed-by: Yuchen Liu <yucliu@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Reviewed-by: Sébastien Marchand <sebmarchand@chromium.org> Commit-Queue: Ryan Powell <ryanpow@google.com> Cr-Commit-Position: refs/heads/master@{#693270}
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 .