diff options
author | 2022-09-08 09:18:05 -0700 | |
---|---|---|
committer | 2022-09-08 10:30:59 -0700 | |
commit | 664ac445a3919a2eecb940b919ca2443ed9a18fe (patch) | |
tree | b72b510f93b090e15d421291565e7349bf4bc753 /libs/androidfw/ResourceTimer.cpp | |
parent | f3f3f517fd48295b0605c23e06a9755d608d276a (diff) |
Export BatteryStats events to Atrace.
Similar to http://ag/19779936, this reports event details to Perfetto.
All events are recorded as instants. Ideally, the start/finish would
correspond to a single async segment, but that requires storing unique
cookie ids for every event (if not managed carefully, can grow in
memory). Instead, we can generate synthetic segments in Perfetto itself.
Bug: 245749764
Test: atest FrameworksServicesTests:BatteryStatsTests
Change-Id: If24c0d52c76a9cba6692ae5de20b80cb759b9a4d
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions