diff options
| author | 2024-04-10 09:23:12 -0400 | |
|---|---|---|
| committer | 2024-04-15 10:03:45 -0400 | |
| commit | 948b9b0798d0af4b4f346075c253ac1def5e19d4 (patch) | |
| tree | d3468580faaeea33e582237d4251880f3f13146b /libs/androidfw/StringPool.cpp | |
| parent | 0e75605d0cf7cb1537fe6920ddae5019e6017998 (diff) | |
Fix kernel wakeup durations
Before this change, atom KERNEL_WAKEUP_REPORTED recorded the uptime from
kernel wake to first partial wakelock started.
With this change, atom KERNEL_WAKEUP_REPORTED records the complete uptime
associated with the kernel wake.
There is significant CPU scheduling delay on WearOS devices due to
CPU starvation (go/wear-metric-problem). This means that a thread hop
can take take a large amount of wall time.
As per b/309610775#comment9, the calls to aggreateWakeupReasonLocked by
noteWakeupReasonLocked and noteStartWakeLocked are racing and potential
scheduling delays can really skew the order.
Test: ./out/host/linux-x86/bin/statsd_testdrive -e 36
Bug: 309610775
Change-Id: I8ec939e00d1535da4bdcd3a1aa0e028424ef97e4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions