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

Unified Diff: tools/telemetry/telemetry/core/browser.py

Issue 15093008: Telemetry: integrates memory_measurement with TCMalloc dumps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 7 years, 7 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/telemetry/telemetry/core/browser.py
diff --git a/tools/telemetry/telemetry/core/browser.py b/tools/telemetry/telemetry/core/browser.py
index 4f610130574485994846436532886eefe48df6d2..b483fbd1c5ab5563b4b46f866ccc84b2376a8bcc 100644
--- a/tools/telemetry/telemetry/core/browser.py
+++ b/tools/telemetry/telemetry/core/browser.py
@@ -83,6 +83,10 @@ class Browser(object):
def supports_tracing(self):
return self._browser_backend.supports_tracing
+ def is_profiler_active(self, profiler_name):
+ return profiler_name in [profiler.name() for
+ profiler in self._active_profilers]
+
def _GetStatsCommon(self, pid_stats_function):
browser_pid = self._browser_backend.pid
result = {
« no previous file with comments | « tools/perf/perf_tools/memory_measurement.py ('k') | tools/telemetry/telemetry/core/platform/profiler/profiler_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698