| commit | 3676226cc23ddcd88fef8edb1ed69cebaaa33fbd | [log] [tgz] |
|---|---|---|
| author | Francois Doray <fdoray@chromium.org> | Tue Feb 08 00:21:05 2022 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 08 00:21:05 2022 |
| tree | 9af72dbddf88a33552660620354ce4c6744f1e45 | |
| parent | 18cd9dc58271d6ed30f2b96e56fa2da935a58c7e [diff] |
[battery] Pass CoalitionResourceUsageRate as a separate argument to PowerMetricsReporter::ReportHistograms. In an upcoming CL, ProcessMonitor:::Metrics will no longer have a CoalitionResourceUsageRate. This CL passes CoalitionResourceUsageRate as a separate argument to PowerMetricsReporter::ReportHistograms to make that other CL smaller. At the same time, expectations that resource coalition histograms are recorded by PowerMetricsReporter::ReportHistograms are added in tests. Bug: 1293465 Change-Id: Ib869c0a161143c97485dac6ae7f4193936d94e43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3437109 Reviewed-by: Patrick Monette <pmonette@chromium.org> Commit-Queue: Francois Pierre Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/main@{#968101}
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.
If you found a bug, please file it at https://crbug.com/new.