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 Yiwei Zhang <zzyiwei@google.com> 2020-10-23 14:01:20 -0700
commitbb66c98ac04dd08dc1d8b718af22a438ab194850 (patch)
tree02e940b586549b9cfbcc5eb6d943468464235e3f /libs/gui/QueueBufferInputOutput.cpp
parenta3dae23fbe4c43c9d4754f8c0f24146acdbf91f5 (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 Merged-In: I5c8278754549399ffa51e6e6fc2ca69b51976cb2
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions