summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2024-05-03 12:31:11 +0000
committer Rupesh Bansal <brup@google.com> 2024-05-17 23:11:53 +0000
commit73ac50a18ff6dab299546429dfbf12927afabae2 (patch)
treedfca9d7c644467610b090ec29173bf3a12f6e859 /libs/androidfw/misc.cpp
parentd59e10ca34a8b332bd1aa930f37d36c98ca08b86 (diff)
Moved wakelock logs to the notifier thread
This is to improve the wakelock acquire and release latency. It was noted that over 10% of the time spent in acquiring a wakelock was while logging its state. This moves that aspect of logging to the notfier thread, essentially making the power thread run faster. Bug: 338588273 Test: atest com.android.server.power Test: Manually verifying the improvement in power thread performance Change-Id: I0425cef3c29f8511ded573e66b77d2ab4d3a53ec
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions