commit | 3e28582ccbfb4b1f639bb82a85a9bc1343c4a6de | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Thu May 23 12:57:29 2019 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Thu May 23 12:57:29 2019 +0100 |
tree | 7b09fee132786130414ea1585dd13a69d25b9494 | |
parent | 7336078d1d6a7dc4da530c7d20392ca3d0503992 [diff] |
metrics: refactor metrics code into proper builder class This makes the code a lot nicer and easier to follow and also makes writing tests possible. Tests will follow once repeated fields have been introduced (before that it's a bit tricky to test all the cases easily). Change-Id: I49ef14e52a9de64963df66d7eb2fe87cb710c204
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.