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

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

Issue 1917393002: [tools/perf] Reference legacy_page_test module instead of page_test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « tools/perf/measurements/page_cycler.py ('k') | tools/perf/measurements/rasterize_and_record_micro.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/power.py
diff --git a/tools/perf/measurements/power.py b/tools/perf/measurements/power.py
index 7fdbc2943c67e179bb1a06d0e495922cf29b2ba5..e2f90671e5718531423ddfa37b08ef66cc9bf317 100644
--- a/tools/perf/measurements/power.py
+++ b/tools/perf/measurements/power.py
@@ -7,10 +7,10 @@ import time
from metrics import network
from metrics import power
from telemetry.core import util
-from telemetry.page import page_test
+from telemetry.page import legacy_page_test
-class Power(page_test.PageTest):
+class Power(legacy_page_test.LegacyPageTest):
"""Measures power draw and idle wakeups during the page's interactions."""
def __init__(self):
@@ -48,7 +48,7 @@ class LoadPower(Power):
pass
-class QuiescentPower(page_test.PageTest):
+class QuiescentPower(legacy_page_test.LegacyPageTest):
"""Measures power draw and idle wakeups after the page finished loading."""
# Amount of time to measure, in seconds.
« no previous file with comments | « tools/perf/measurements/page_cycler.py ('k') | tools/perf/measurements/rasterize_and_record_micro.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698