commit | bab105a59ac8dc9c61e17bb7865777f14195d693 | [log] [tgz] |
---|---|---|
author | Anna Mayzner <mayzner@google.com> | Mon Apr 17 06:10:26 2023 +0000 |
committer | Anna Mayzner <mayzner@google.com> | Mon Apr 17 06:10:26 2023 +0000 |
tree | 34adea30c9270006de30b1093943334a33d8129d | |
parent | 7c24af6f73e50d66dc0d9ac866fb4a4d788e8822 [diff] |
tp: ClockConverter To fix the bug we had to implement https://observablehq.com/d/2ba5ca5bbdebe9a9. To simplify the conversion, we implemented ClockConverter, which allows conversion using only data from TraceStorage, and not graphs from ClockTracker. ClockConverter first fetches all of the snapshots related to the clocks used for conversion and then applies the algorithm from above link to convert trace time to clock values. This enabled: - deconstruction of ClockTracker with context in DestroyContext() which released some memory - further simplification of ClockTracker, which no longer needs any logic related to FromTraceTime() Bug: 271428674 Change-Id: Ie1404a51e0004519753bab1a727a65fb1dea4a33
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.