summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorEric Holk <eholk@google.com>2021-02-04 01:09:58 +0000
committerEric Holk <eholk@google.com>2021-02-05 21:34:32 +0000
commitb6dda5a1fa90b08d3ebf83a5d1f882e5355bc68b (patch)
treec3002c5ddf5b1b582c7f0399990b920ed59028eb /test/ProfileTestMultiDex
parenta0a20cdaba1a339b526707bde0e61e4eae8acfd5 (diff)
[metrics] Report metrics at app startup completion
We are particularly interested in metrics collected during app launch. This causes ART to report metrics when NotifyStartupCompleted is called. Note that startup reports are automatically enabled if any metrics backend is configured. This CL also fixing a small bug where attaching the thread could fail if this happens while the runtime is shutting down, leading to a fatal error when the background thread attempted to detach itself. Bug: 170149255 Test: adb shell setprop dalvik.vm.extra-opts -Xwrite-metrics-to-log && \ adb shell stop && adb shell start Then launch apps and observe metrics in logcat. Change-Id: I2f3fc0c61c58db94aa3e2165ed794e1a5652a060
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions