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

Unified Diff: telemetry/telemetry/timeline/tracing_config.py

Issue 2043203003: Add MemoryInfra overheads to tracingMetrics (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Renames to memory-infra. Created 4 years, 6 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 | « no previous file | tracing/tracing/metrics/tracing_metric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/timeline/tracing_config.py
diff --git a/telemetry/telemetry/timeline/tracing_config.py b/telemetry/telemetry/timeline/tracing_config.py
index 36e7ac992e43e98959cd939d584680d596eb021f..a6c7695e3ad40447c63c270c1f687daa0790bb86 100644
--- a/telemetry/telemetry/timeline/tracing_config.py
+++ b/telemetry/telemetry/timeline/tracing_config.py
@@ -341,9 +341,9 @@ class MemoryDumpConfig(object):
Args:
periodic_interval_ms: Dump time period in milliseconds.
level_of_detail: Memory dump level of detail string.
- Valid arguments are "light" and "detailed".
+ Valid arguments are "background", "light" and "detailed".
"""
- assert mode in ['light', 'detailed']
+ assert mode in ['background', 'light', 'detailed']
assert periodic_interval_ms > 0
self._triggers.append({'mode': mode,
'periodic_interval_ms': periodic_interval_ms})
« no previous file with comments | « no previous file | tracing/tracing/metrics/tracing_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698