Merge "bootstat: clarify unit." am: 294a13ae0d

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1616686

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I48109d2a8a68cf4804891fd3cd5ebba7b400b3c2
This commit is contained in:
Yifan Hong 2021-03-06 01:56:26 +00:00 committed by Automerger Merge Worker
commit 63ef529575

View file

@ -1322,6 +1322,8 @@ void RecordBootComplete() {
// Record the total time from device startup to boot complete, regardless of // Record the total time from device startup to boot complete, regardless of
// encryption state. // encryption state.
// Note: we are recording seconds here even though the field in statsd atom specifies
// milliseconds.
boot_event_store.AddBootEventWithValue(boot_complete_prefix, uptime_s.count()); boot_event_store.AddBootEventWithValue(boot_complete_prefix, uptime_s.count());
RecordInitBootTimeProp(&boot_event_store, "ro.boottime.init"); RecordInitBootTimeProp(&boot_event_store, "ro.boottime.init");