Add average power to android_batt metric Add a metric for the average power over the duration of the trace, calculated from the batt.power_mw counter. Bug: 361471853 Test: trace_processor_shell <trace> --run-metric android_batt Change-Id: I12e6b056519258822a5b119401f235f0b484461b
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.