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

Unified Diff: tools/memory_inspector/memory_inspector/data/serialization.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
Index: tools/memory_inspector/memory_inspector/data/serialization.py
diff --git a/tools/memory_inspector/memory_inspector/data/serialization.py b/tools/memory_inspector/memory_inspector/data/serialization.py
index 25e6068ee5c5f11c0584decbd7bdda3be9d77636..b829267963edfa645a5af08ab1421645341586fc 100644
--- a/tools/memory_inspector/memory_inspector/data/serialization.py
+++ b/tools/memory_inspector/memory_inspector/data/serialization.py
@@ -108,5 +108,6 @@ class NativeHeapDecoder(json.JSONDecoder):
nh.Add(native_heap.Allocation(start=alloc_dict['start'],
size=alloc_dict['size'],
stack_trace=stack_trace,
- flags=alloc_dict['flags']))
+ flags=alloc_dict['flags'],
+ resident_size=alloc_dict['resident_size']))
return nh

Powered by Google App Engine
This is Rietveld 408576698