commit | b7f67abe3475e5397a065826157e1ef9eacb8522 | [log] [tgz] |
---|---|---|
author | Alison Cichowlas <asc@google.com> | Tue Apr 25 18:04:40 2017 -0400 |
committer | Alison Cichowlas <asc@google.com> | Wed Apr 26 17:05:11 2017 +0000 |
tree | 59d523bf3087e5a9942a917020ccbc606646c634 | |
parent | 0f8764485b055d5f4904a3db201ca338b398347a [diff] |
Use uptimeMillis instead of currentTimeMillis for interval calculation. uptime is guaranteed monotonic; currentTime may go backwards in the event of NTP updates or other wackiness. Test: manual sanity check of logs; android.support.test.metricshelper.MetricsAssertsTest passes Bug: 37538546, 18584861 Change-Id: I222b20be9d561e1184b11155fe44c574d90872a5