summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2020-12-15 13:07:32 -0800
committer Robert Carr <racarr@google.com> 2020-12-16 15:15:20 -0800
commit7121caf213cee71c1876663acc3b755445409afb (patch)
tree5e718fefa6cc0fe88298efef5a7d9d094d806de0 /services/surfaceflinger/RegionSamplingThread.cpp
parentd4bd9ff9e872cd1b583f58a5e02bd51c4bc12e84 (diff)
SurfaceFlinger: Trace pending BufferStateLayer buffers.
In BufferQueueLayer the BufferQueueConsumer lives inside the server process, and ATRACE's an integer indicating the current number of queued buffers. This makes it possible from systrace to observe three useful points: 1. When a buffer arrives at the server 2. When the buffer is latched 3. If any buffers are dropped In BLAST this trace point has of course been moved to the client process. In this CL we introduce some new machinery to ATRACE and increment an integer when transactions containing a buffer arrive at the server. We then decrement this integer when dropping a frame or latching a buffer. Bug: 171232941 Test: Existing tests pass Change-Id: I2672018e4f20d683e3249141438d0716b5af9d11
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions