diff options
author | Songchun Fan <schfan@google.com> | 2021-03-03 21:01:37 +0000 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2021-03-10 23:20:35 +0000 |
commit | b54bb636745a6cced54c98faf41cceb858a15076 (patch) | |
tree | 4e63b3025a492427a44b804e2c932fbae2378518 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 167dea12182d2d0f8ea5022e171df3df4f0ee3ea (diff) |
[incremental] expose duration metrics to activity manager
Change existing metrics proto to include:
1) whether the crashed/ANR'd app is incremental
2) the loading progress of the crashed/ANR'd app
3) the duration in milliseconds since the oldest pending read
Example logcat:
03-08 11:21:31.405 1668 5779 E ActivityManager: App crashed on incremental package mytown.police which is 81% loaded.
Example crash metrics:
metric_id: 1111
event_metrics {
data {
elapsed_timestamp_nanos: 1141413709431
atom {
app_crash_occurred {
uid: 10348
event_type: "crash"
process_name: "mytown.police"
pid: 21236
package_name: "mytown.police"
is_instant_app: FALSE
foreground_state: FOREGROUND
error_source: DATA_APP
>>> is_incremental: true
>>> loading_progress: 0.81358474
>>> millis_since_oldest_pending_read: 20092
}
}
}
}
BUG: 180951530
Test: atest CtsStatsdAtomHostTestCases:android.cts.statsdatom.statsd.UidAtomTests#testANROccurred
Test: manual with disabled rest streaming
Change-Id: I931acfed37304fa35f756286b424512490b0e312
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions