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

Unified Diff: tools/perf/measurements/thread_times.py

Issue 208643007: Add cleanup for measurements that use tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/perf/measurements/thread_times.py
diff --git a/tools/perf/measurements/thread_times.py b/tools/perf/measurements/thread_times.py
index 13a90757c7cd2aec9cff2669aeb370584a03afca..3c8b28eb500d731a87ea47a923c38f31de6b6f9c 100644
--- a/tools/perf/measurements/thread_times.py
+++ b/tools/perf/measurements/thread_times.py
@@ -37,3 +37,6 @@ class ThreadTimes(page_measurement.PageMeasurement):
def MeasurePage(self, page, tab, results):
self._metric.AddResults(tab, results)
+
+ def CleanUpAfterPage(self, _, tab):
+ self._metric.CleanUp(tab)

Powered by Google App Engine
This is Rietveld 408576698