summaryrefslogtreecommitdiff
path: root/core/java/android/util/BootTimingsTraceLog.java
Commit message (Collapse)AuthorAgeFilesLines
* Log timings for shutdown stagesFyodor Kupolov2017-08-141-64/+0
| | | | | | | | | | | | | | | | | | | | Renamed BootTimingsTraceLog to TimingsTraceLog. It is now used for boot and shutdown logging. Added measurements for main stages of shutdown in the system server: ShutdownTiming: SendShutdownBroadcast took to complete: 734ms ShutdownTiming: ShutdownActivityManager took to complete: 203ms ShutdownTiming: ShutdownPackageManager took to complete: 17ms ShutdownTiming: ShutdownBt took to complete: 533ms ShutdownTiming: ShutdownRadio took to complete: 534ms ShutdownTiming: ShutdownNfc took to complete: 1536ms ShutdownTiming: ShutdownRadios took to complete: 1538ms ShutdownTiming: ShutdownStorageManager took to complete: 906ms ShutdownTiming: SystemServerShutdown took to complete: 3918ms Bug: 64569080 Test: shutdown/reboot and check logs Change-Id: I636c045852cd1ed6be1c58af6608f70e95756389
* Only require that system UIDs tag their sockets.Jeff Sharkey2017-06-271-1/+1
| | | | | | | | | | | | | Apps with a normal UID are typically isolated enough to not require socket tagging; we're mostly interested in tracking down internal UIDs that have lots of code sharing the same UID. Also fix up everyone doing manual string checks of Build.TYPE, since we now have first-class fields for those. Bug: 38126076 Test: builds, boots Change-Id: I3a40348196bd8459289f2b9355d9783a07f1e7dd
* Use push/peek/pop for operations on stackFyodor Kupolov2016-11-221-3/+2
| | | | | | Test: manual - device boots, metrics are logged to system/event log Bug: 32780225 Change-Id: If7e51c50767d8fd9d5da44f61dbc5bfe56196894
* Additional boot metricsFyodor Kupolov2016-11-211-0/+65
Extracted duration measurement functionality into BootTimingTraceLog. It is now shared between system_server and zygote. Log the following metrics to tron: - boot_zygote_init - Time in milliseconds to boot into Zygote init stage. - boot_android_init - Time in milliseconds to boot into Android init stage. Test: manual - device boots, metrics are logged to system/event log Bug: 32780225 Bug: 31115337 Change-Id: I600ac7fc83d35fa226ac92c37cc4b19192b25f59