[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.