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

Unified Diff: tools/telemetry/telemetry/core/platform/mac_platform_backend.py

Issue 91573003: Make page_cycler.py fully measure memory for each page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Shadi's comment Created 7 years 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/telemetry/telemetry/core/platform/mac_platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/mac_platform_backend.py b/tools/telemetry/telemetry/core/platform/mac_platform_backend.py
index ced415104273e486e38c0abb05dae576fa9d2aa5..edd54b1a778cecfad3734513ab51b042ca4198a1 100644
--- a/tools/telemetry/telemetry/core/platform/mac_platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/mac_platform_backend.py
@@ -85,6 +85,10 @@ class MacPlatformBackend(posix_platform_backend.PosixPlatformBackend):
return pages_active * resource.getpagesize() / 1024
return 0
+ def PurgeUnpinnedMemory(self):
+ # TODO(pliard): Implement this.
+ pass
+
def GetMemoryStats(self, pid):
rss_vsz = self._GetPsOutput(['rss', 'vsz'], pid)
if rss_vsz:

Powered by Google App Engine
This is Rietveld 408576698