Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 73ac50a1 authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

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
parent d59e10ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment