| commit | 617d3f67c3d963d2bd8b1f70cc60b660123e8153 | [log] [tgz] |
|---|---|---|
| author | Yiwei Zhang <zzyiwei@google.com> | Mon Sep 07 15:57:38 2020 -0700 |
| committer | Yiwei Zhang <zzyiwei@google.com> | Thu Sep 10 16:47:57 2020 -0700 |
| tree | 813fac35f457b24e9cf6de38e6756abb1b18b10f | |
| parent | 48a955aeb028ac005b963e04dddae4e3a4e99778 [diff] |
Define GPU metrics
This change adds the GPU metrics. Specifically, this change adds the GPU
memory metrics while providing a extensible GPU metric base.
Bug: 167416193
Test: tools/diff_test_trace_processor.py <trace_processor_shell> \
--trace-filter='gpu_metric*'
Test: <trace_processor_shell> --run-metrics android_gpu \
--metrics-output=json <perfetto trace>
Change-Id: I96f324d5b72f7134733ba6b5cfb8e2968c53e634
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.