summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2020-08-13 17:39:51 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2020-10-23 14:04:30 -0700
commit643a4f62e428857ed3e027930e1db0c8bc284c58 (patch)
tree90b336eea40605103f798c14baa5c4f23974d19c /libs/gui/QueueBufferInputOutput.cpp
parentb7c974f81ff98b91ee487b29470caf3f2812d91c (diff)
GpuMem: refactor and add unittest for traverseGpuMemTotals
Use explicit std::function instead of lambda to make the interface more stable and reliable. The trivial perf difference doesn't matter since the data is only collected once upon tracing start and we just need to ensure that the timestamp stays close enough to the map query. Bug: 164194338 Test: atest gpuservice_unittest:GpuMemTest Change-Id: I0b1e92214085eac5f75e7cdf4c00c017c520ff5b Merged-In: I0b1e92214085eac5f75e7cdf4c00c017c520ff5b
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions