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

Unified Diff: tools/memory_inspector/memory_inspector/core/backends.py

Issue 549313006: [Android] memory_inspector: move to libheap_profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mi3_prebuilts
Patch Set: Add prebuilts 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/core/backends.py
diff --git a/tools/memory_inspector/memory_inspector/core/backends.py b/tools/memory_inspector/memory_inspector/core/backends.py
index 8a9f8ea7950641c90eda5943e05b1055257ad174..6464a72f8df267cf39f3d422045283a454a21ea1 100644
--- a/tools/memory_inspector/memory_inspector/core/backends.py
+++ b/tools/memory_inspector/memory_inspector/core/backends.py
@@ -134,6 +134,14 @@ class Process(object):
"""Returns an instance of |native_heap.NativeHeap|."""
raise NotImplementedError()
+ def Freeze(self):
+ """Stops the process and all its threads."""
+ raise NotImplementedError()
+
+ def Unfreeze(self):
+ """Resumes the process."""
+ raise NotImplementedError()
+
def GetStats(self):
"""Returns an instance of |ProcessStats|."""
raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698