diff options
author | Eric Holk <eholk@google.com> | 2020-11-17 14:54:23 -0800 |
---|---|---|
committer | Eric Holk <eholk@google.com> | 2020-12-10 12:34:45 -0800 |
commit | 77f7eb9d05b6d05531556882d99ed63688c6e3b0 (patch) | |
tree | 76754e225ffd358eda851b51d7ca541843d6040b /test/MultiDex/Main.java | |
parent | 3ac2f5a25e9cae22ec8f5ae5e28de93f34d6485a (diff) |
[metrics] Add background reporting thread
This adds a background thread that reports metrics every N seconds,
where N is specified by the -Xmetrics-reporting-period command line
option. Periodic reporting is disabled by default.
Test: test/run-test --host test/2233-metrics-background-thread
Test: adb shell stop && \
adb shell setprop dalvik.vm.extra-opts \
-Xmetrics-reporting-period=30\\\ -Xwrite-metrics-to-log && \
adb shell start && \
adb logcat # observe metrics in log
Change-Id: I4d6ae7701dd2fe36bc761ef6170ddd6860a3c0e6
Diffstat (limited to 'test/MultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions