commit | fcd2548a246c391204c505345fab85744c1de7b7 | [log] [tgz] |
---|---|---|
author | Sebastien Marchand <sebmarchand@chromium.org> | Mon May 03 16:19:46 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 03 16:19:46 2021 |
tree | cc439f6ed99500c74c4b19a80f59f20ab77d43b5 | |
parent | 5c799d0350fef62f812858a45caf2cca4ee207a9 [diff] |
Add MemoryPressureLevelReporter This observes memory pressure level changes to report the time spent in each pressure state. The goal is to use this to get rid of the repeating timer currently used to report Memory.PressureLevel. The MemoryPressureMonitor is owned by content::BrowserMainLoop and torn down in content::BrowserMainLoop::ShutdownThreadsAndCleanUp, that should let Chrome send the data for the latest memory pressure interval at shutdown. Bug: 1195080 Change-Id: I2aa406f3524d7dfc22e10c5f9dbc76c060a7ec6b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2860304 Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#878435}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.