diff options
| author | 2023-10-18 11:40:56 -0700 | |
|---|---|---|
| committer | 2023-10-23 14:21:13 -0700 | |
| commit | 36e74a499872d992ec42dcea822f88a217dac085 (patch) | |
| tree | a8facf0076dd8885132b2f41513d52aee300882d /libs/androidfw/FileStream.cpp | |
| parent | a8c34f8d1b3b67e282bdd6130bc2beeac54b878d (diff) | |
Add criticalLowMemory trace to LowMemDetector
Added a "criticalLowMemory" trace which tracks the duration of high
memory pressure state. When the native PSI monitor detects a memory PSI
event where the pressure state is ADJ_MEM_FACTOR_CRITICAL (highest
memory PSI level), we start tracing until the next PSI event is
detected.
Test: atest CtsAppTestCases:ActivityManagerTest
Bug: 306202359
Change-Id: I00acc9de180f3e65a9fe2cf84028a0c9eb66a008
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions