Adding proper GetUsedMemoryInPercent calculation
commit4ce9865875145e9ab3947b9bfc2b543347883a9b
authorskuhne <skuhne@chromium.org>
Sat, 30 Aug 2014 06:16:46 +0000 (29 23:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 30 Aug 2014 06:19:02 +0000 (30 06:19 +0000)
tree38ce649586530e3b12b023b6a527e1ee6274571d
parent571ce25c3bc86a62e76e2fa02c18c44e143cc792
Adding proper GetUsedMemoryInPercent calculation

This should be the memory pressure calculation as it is performed by the kernel today.
As discussed this is done to experiment with a more detailed resource management algorithm. Once this we have a satisfying solution this can be moved back.

BUG=381212
TEST=none (for this equation)

Review URL: https://codereview.chromium.org/511383003

Cr-Commit-Position: refs/heads/master@{#292779}
athena/resource_manager/delegate/resource_manager_delegate.cc