Commit 388b3a42 authored by Kevin's avatar Kevin
Browse files

Implement garbage collection device listener

This CL introduces an instrumentation listener that can run before and
after tests to GC before a memory metric collector. The user can
specify the processes to garbage collect and the amount of time to
wait for memory to stabilize.

Bug: 119048359
Test: atest CollectorDeviceLibTest:android.device.preparers.GarbageCollectionPreparerTest
Change-Id: If77f39aba45b641c5f0157688962db5f8b8be51b
parent 3ea3d43a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment