commit | 36e74a499872d992ec42dcea822f88a217dac085 | [log] [tgz] |
---|---|---|
author | Jahdiel Alvarez <jahdiel@google.com> | Wed Oct 18 11:40:56 2023 -0700 |
committer | Jahdiel Alvarez <jahdiel@google.com> | Mon Oct 23 14:21:13 2023 -0700 |
tree | a8facf0076dd8885132b2f41513d52aee300882d | |
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