summaryrefslogtreecommitdiff
path: root/libutils/Unicode.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-15 10:03:05 +0000
commit45c9e0b30ca100714566629d4fa6511cae829470 (patch)
tree069260010484cd6149d4e9e92155873d062fc1d6 /libutils/Unicode.cpp
parentb62d5ed25e77cf0983f2686c99271fd69aa704b6 (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 Merged-In: I16106fc4f9254f17f776803e60502b7b6474e1b7 Change-Id: I16106fc4f9254f17f776803e60502b7b6474e1b7 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions