summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorNataniel Borges <natanieljr@google.com>2019-01-03 10:32:03 -0800
committerNataniel Borges <natanieljr@google.com>2019-01-10 15:01:26 -0800
commit5a38bad677c46d9b7589e81383bedefa77854dd4 (patch)
treea25a62b2a4e78114f3237d85297dbe056bd6bca7 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent1bafe67c7855673c163483bedf8e304b9b75ec44 (diff)
Isolate WMTrace buffer and limit it by size not number of elements
Currently the buffer is a BlockingQueue with fixed capacity for 200 elements. This implementation changes it to use up to 512KB of memory, instead of a fixed number of elements. It also encapsulates the buffer in a separate class to support a ring buffer for continuous monitoring (future implementation) Test: Flash a device. Enable window manager tracing. Use the device. Stop the trace and pull the logged trace. Open the trace in Winscope and check if the data is correctly stored. Unit tests: atest WmTests:WindowTraceBufferTest Change-Id: Ia515d350d82520d378ae7339a6486ca6a43e62c3
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions