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: tools/perf/measurements/thread_times_unittest.py

Issue 138923004: Telemetry: Normalize fast-path results with frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Customize silk/fastpath results. Created 6 years, 11 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_unittest.py
diff --git a/tools/perf/measurements/thread_times_unittest.py b/tools/perf/measurements/thread_times_unittest.py
index f8ff8cf82dcc11de56d6f6e462e8859c7f7d464e..fa9214498b318d9fbf3fcfc7a8213dc0277b9c0e 100644
--- a/tools/perf/measurements/thread_times_unittest.py
+++ b/tools/perf/measurements/thread_times_unittest.py
@@ -15,16 +15,16 @@ class ThreadTimesUnitTest(
def testBasic(self):
ps = self.CreatePageSetFromFileInUnittestDataDir('scrollable_page.html')
- measurement = thread_times.ThreandTimes()
+ measurement = thread_times.ThreadTimes()
timeline_options = self._options
results = self.RunMeasurement(measurement, ps, options = timeline_options)
self.assertEquals(0, len(results.failures))
for category in timeline.TimelineThreadCategories.values():
- clock_time_name = timeline.ThreadTimePercentageName(category)
+ clock_time_name = timeline.ThreadTimeResultName(category)
clock_time = results.FindAllPageSpecificValuesNamed(clock_time_name)
self.assertEquals(len(clock_time), 1)
- cpu_time_name = timeline.ThreadCPUTimePercentageName(category)
+ cpu_time_name = timeline.ThreadCpuTimeResultName(category)
cpu_time = results.FindAllPageSpecificValuesNamed(cpu_time_name)
self.assertEquals(len(cpu_time), 1)

Powered by Google App Engine
This is Rietveld 408576698