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
Loading
Please register or sign in to comment