[roll] Roll fuchsia [power,test] Calculate power metrics from trace

Introduce trace_processing.metrics.power.PowerMetricsProcessor, which
calculates power metrics excluding the sync signals used to align power
and trace data.

To sync power data with a system trace, we currently generate known load
at the beginning of a test and then corellate CPU load spikes with power
draw spikes. We can then align power and system events to create a
merged trace, but power metrics generated without taking this artificial
load into account will be inaccurate.

This new implementation of PowerMetricsProcessor emits cleaned-up
MaxPower, MinPower and MeanPower metrics for the test, but tags them
temporarily with a `_by_model` suffix so bugs can shake out without
disturbing existing dashboards.

Test: `fx test power_test_utils_test`, `fx test power_metrics_test`,
      `fx run_power_metrics` on a merged power trace.
Original-Bug: b/339639820, b/322559390

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1045932
Original-Revision: 58e56e0338eaa8fd6a784f147835af7ed7d00522
GitOrigin-RevId: 6cb65b8c23a01b7e56989ff4777fa652edebb981
Change-Id: I7a1186c195c1cd76302a85052924549ec597bc56
1 file changed
tree: ccc24bbb9c48dbf042e60cd46a51ede9f4491531
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.