summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2020-01-21 19:10:47 +0000
committerAlessio Balsini <balsini@google.com>2020-02-17 16:36:36 +0000
commitcd3915d2e7727dec8b426dea7284b2a0b1fd3100 (patch)
tree1fecd12acf76628c268feb0527a9f97209aaecd4 /debuggerd/handler/debuggerd_handler.cpp
parent34ad19f4c4a85b2664cee68b7e44ce7124085264 (diff)
Utility class to measure snapshot merge duration
With the Virtual A/B feature, when the device successfully boots after an OTA update, a dm-snapshot merge operation is performed, which consolidates the updated images to the base devices. This merge operation depends on the OTA size and may affect the device performance until completed. Create the SnapshotMergeStats class that takes care of measuring the duration of a merge operation and manages the merge state file to continue tracking the merge in the case of an interruption due to a reboot. Bug: 138817833 Test: m Change-Id: I9dcf1423716c89d8f9b4a0feb4e75bb7b9d18935 Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions