summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Adithya Srinivasan <adsrini@google.com> 2020-06-18 11:28:12 -0700
committer Adithya Srinivasan <adsrini@google.com> 2020-06-26 13:59:39 -0700
commitb9f62d6b3ecf6e9b8843a4878ffa473d897ea304 (patch)
treece03817c068dd46f65479f6b8d1433a537ee8bb5 /libs/gui/QueueBufferInputOutput.cpp
parenta265b40f0b731b0e484fe9b48504f1b6ed0e9e57 (diff)
GpuMem perfetto producer
To overcome the problem of ftrace gpumem events not emitting anything during MEC (with apps that do launch-time allocations), this change adds a perfetto producer to emit initial counter values at the start of a trace, so that the visualization won't so zero usage. Test: adb shell perfetto --query | grep gpu. Test: Take a perfetto trace with android.gpumem enabled Bug: 157142645 Change-Id: I5c8278754549399ffa51e6e6fc2ca69b51976cb2
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions