commit | 465b79482facf352ad4d2ce5596ddd0cbc2b5cdf | [log] [tgz] |
---|---|---|
author | Wiwit Rifa'i <wiwitrifai@google.com> | Wed Jul 21 12:17:16 2021 +0800 |
committer | Wiwit Rifa'i <wiwitrifai@google.com> | Wed Jul 21 12:17:16 2021 +0800 |
tree | d80a9dab690c5e4e5ba44e70e94b5ab8b111c25f | |
parent | 12181e52e0ec9a6b8be55e6af645ae0448cae860 [diff] |
metrics: Add metrics for each used GPU frequency Add more metrics for each used GPU frequency which is similar to time_in_state. For each frequency, we will calculate the total duration and the percentage when the GPU state was in this frequency. Test: <trace_processor_shell> --run-metrics android_gpu \ <perfetto_trace> Test: tools/diff_test_trace_processor.py <trace_processor_shell> \ --trace-filter='gpu_frequency_metric' Change-Id: Ia9c46835e971c21c3b1ebc16798cb9b20bc63173
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.