diff options
| author | Luis Hector Chavez <lhchavez@google.com> | 2018-04-11 15:35:44 -0700 |
|---|---|---|
| committer | Luis Hector Chavez <lhchavez@google.com> | 2018-04-12 01:50:50 +0000 |
| commit | 2980f57f2c3da88139342b394f685c2c505c96c5 (patch) | |
| tree | 580a6c2e514706d5d7afd7c86bf4e60b0f5e1d18 /trusty/coverage/coverage_test.cpp | |
| parent | af15fbf9aa6bb991a6abe8b2b72acc1a9405eff9 (diff) | |
init: Use android::base::boot_clock instead of /proc/uptime
/proc/uptime internally uses whatever would be returned by
clock_gettime(CLOCK_BOOTTIME), so use android::base::boot_clock instead
which avoids parsing strings and rounding errors.
Bug: 77273909
Test: CtsBootStatsTestCases
Change-Id: Ic162eefcf226073949a18cca55db3c2324b98749
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
