summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-04-13 13:41:12 -0700
committerSuren Baghdasaryan <surenb@google.com>2018-04-17 01:41:59 +0000
commit9926e57ee89a1d4de296ee1cb7113bdb215ef79d (patch)
tree87b3cb862c6600bb7325de91df18d25da58df1a0 /trusty/coverage/coverage.cpp
parent8b9deaf6180a77b6a9cb69f604fb8f58e1214e48 (diff)
lmkd: Switch to using /proc/meminfo to have access to file cache size
Current mechanism of getting system memory state by using sysinfo() is not enough because it does not provide information about file cache size which is needed to correctly assess memory state. Switch to using data from /proc/meminfo that includes information provided by sysinfo() and file cache size in addition to that. Bug: 77299493 Bug: 75322373 Change-Id: I16106fc4f9254f17f776803e60502b7b6474e1b7 Merged-In: I16106fc4f9254f17f776803e60502b7b6474e1b7 Signed-off-by: Suren Baghdasaryan <surenb@google.com> (cherry picked from commit 9ac54eb2f88a4a8fc84d1da307be93f99573ead4)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions