commit | ad7d87b2969f8769865ea8f9b8edc802300cea4a | [log] [tgz] |
---|---|---|
author | Ryan Zuklie <rzuklie@google.com> | Fri May 05 16:55:52 2023 -0700 |
committer | Ryan Zuklie <rzuklie@google.com> | Tue May 09 17:47:48 2023 -0700 |
tree | dd1fe26187b5e84284ec9f8d2cefc97e677c30a8 | |
parent | 6087bfd57d4cdb4eda85c9b32b73b3b55e48ad87 [diff] |
Add view for Android BatteryStats events/counters The counters are used for things that can only have one state at a time (like screen is on or off). This turns the counters into spans with human readable names. The events can be used for things that happen once, or things with a start and stop interval that either doesn't map well to the counters or can have multiple overlapping (e.g. jobs). This converts such events into spans. Test: ui/run-dev-server and query metric Change-Id: Ib600b9426482a22e6c1a393b983e17f9eac257d6
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.