summaryrefslogtreecommitdiffstats
path: root/bootstat/uptime_parser.h
Commit message (Collapse)AuthorAgeFilesLines
* bootstat: Refactor init/utils/boot_clock into base/chrono_utils.James Hawkins2017-03-301-29/+0
| | | | | | | | | | | | | Use this for bootstat and init. This replaces the custom uptime parser in bootstat. This is a reland of aosp/338325 with a stubbed implementation for Darwin. This change also has clang_format fixes (automatic). Bug: 34352037 Test: chrono_utils_test Change-Id: I72a62a3ca1ccfc0a4ccc6294ff1776c263144686
* Revert "bootstat: Refactor init/utils/boot_clock into base/chrono_utils."James Hawkins2017-02-141-0/+29
| | | | | | | | This reverts commit 7c92e484503f239000ef97ef5b067907fbeaa4a6. Mac sdk still broken (despite testing locally). Change-Id: I7d9206e15997cd0efe081bd3fa17d53d2b20ec32
* bootstat: Refactor init/utils/boot_clock into base/chrono_utils.James Hawkins2017-02-131-29/+0
| | | | | | | | | | | Use this for bootstat and init. This replaces the custom uptime parser in bootstat. This is a reland of aosp/332854 with a fix for Darwin. Bug: 34352037 Test: chrono_utils_test Change-Id: Ib2567d8df0e460ab59753ac1c053dd7f9f1008a7
* Revert "bootstat: Remove custom uptime parser in favor of elapsedRealtime."James Hawkins2017-02-081-0/+29
| | | | | | | | | This reverts commit 26f40c04c3ad80e2bc449990010d39d1c1b9a5f0. This change broke the Darwin SDK target. Test: none Change-Id: Ia54fe2c31da8d8fa2825e023b035fb8321dcd457
* bootstat: Remove custom uptime parser in favor of elapsedRealtime.James Hawkins2017-02-071-29/+0
| | | | | | | | Refactored init/utils/boot_clock into base/chrono_utils. Bug: 34352037 Test: none Change-Id: Ied0c00867336b85922369d7ff37520e3d28fc61e
* bootstat: Disambiguate boot time on encrypted devices.James Hawkins2016-03-111-0/+29
This change introduces new metrics to discern boot time on encrypted devices: * post_decrypt_time_elapsed * boot_decryption_complete * boot_complete_post_decrypt * boot_complete_no_encryption Bug: 27497357 Change-Id: I8d3a411029bd6a45f80589ff67c408593e133a87