From 08ba15d143f446381e1d085465e8e27213e59bde Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 3 Mar 2021 16:32:52 -0800 Subject: [PATCH] bootstat: clarify unit. Test: pass Change-Id: I7fc5cf9a5ae8ff895e20922bc7266ef210e8659f --- bootstat/bootstat.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 8979e9a9d..ee1ae3178 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -1322,6 +1322,8 @@ void RecordBootComplete() { // Record the total time from device startup to boot complete, regardless of // 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()); RecordInitBootTimeProp(&boot_event_store, "ro.boottime.init");