diff options
author | Nandana Dutt <nandana@google.com> | 2018-07-05 10:06:18 +0100 |
---|---|---|
committer | Nandana Dutt <nandana@google.com> | 2018-07-09 12:32:34 +0000 |
commit | 786d5453bfd73f9ee740f6ead12b0514f7e6023c (patch) | |
tree | baba8175183e7df9fd8cb0b7b0d87d11131dcd6a /libs/hwui/Program.cpp | |
parent | ce77407144346c6fad679a4297910eea07d0d601 (diff) |
Fix the lost RAM calculation
The formula used when reporting memory usage when device goes
low on memory should exclude SwapPss, which was incorrectly
being included as part of totalPss.
BUG: 109762356
Test: Manually tested on a gobo device by making it
go low on memory. Verified that the Lost RAM in adb logcat
was negative before, and is positive with the change,
and close to Lost RAM from "dumpsys meminfo".
Change-Id: Ic54181b55fa03d3faebda4c0516c95c18ee39e41
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions