Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: tools/memory_inspector/memory_inspector/frontends/www_server.py

Issue 563183003: [Android] memory_inspector: add resident memory accounting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mi4
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/memory_inspector/memory_inspector/frontends/www_content/js/nheap.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/memory_inspector/memory_inspector/frontends/www_server.py
diff --git a/tools/memory_inspector/memory_inspector/frontends/www_server.py b/tools/memory_inspector/memory_inspector/frontends/www_server.py
index d8054f2a15b833e9765d96bd61f8e494d7a837a5..b5f8efc9eeb211d59b7dd6111faefb09acced203 100644
--- a/tools/memory_inspector/memory_inspector/frontends/www_server.py
+++ b/tools/memory_inspector/memory_inspector/frontends/www_server.py
@@ -603,7 +603,7 @@ def _LoadNheapFromStorage(args, req_vars):
resp['rows'] += [{'c': [
{'v': alloc.size, 'f': _StrMem(alloc.size)},
- {'v': 0, 'f': 0}, # TODO(primiano): support resident_size (next CLs).
+ {'v': alloc.resident_size, 'f': _StrMem(alloc.resident_size)},
{'v': alloc.flags, 'f': None},
{'v': strace, 'f': None},
]}]
« no previous file with comments | « tools/memory_inspector/memory_inspector/frontends/www_content/js/nheap.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698