commit | 2a0ea6321578d30be3caa806a65149bffd09672a | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Aug 06 12:59:23 2018 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Aug 16 15:33:09 2018 -0700 |
tree | 5c9ad105ff6f67d1c501a050bea77002f94aa3be | |
parent | b67b90aa766fc41eb5d889d8c5fdc6a7089f09b7 [diff] |
Fix two android metrics reporting in update engine 1. The AttemptCurrentBytesDownloadedMiB was reported in bytes. 2. We were using the same start timestamp (in monotonic_time) for both boot_time and monotonic_time. This leads to an inaccurate update duration reporting. This cl saves an extra perf for the boot time and calculates the duration accordingly. Also report these information with a different metrics name. Bug: 30989466 Test: Run an update and check the report Change-Id: I69e20648501a736a59ff60ca9202ce7bdd9b6e34