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

Unified Diff: tools/telemetry/telemetry/core/platform/android_platform_backend.py

Issue 22754003: Refactor BenchmarkResult.Add to take enum for data_type (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 3 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/platform/android_platform_backend.py
===================================================================
--- tools/telemetry/telemetry/core/platform/android_platform_backend.py (revision 222891)
+++ tools/telemetry/telemetry/core/platform/android_platform_backend.py (working copy)
@@ -11,7 +11,8 @@
# Get build/android scripts into our path.
util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'android')
-from pylib import perf_tests_helper # pylint: disable=F0401
+util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'util', 'lib')
+from common import perf_tests_results_helper # pylint: disable=F0401
from pylib import thermal_throttle # pylint: disable=F0401
try:
@@ -25,7 +26,7 @@
super(AndroidPlatformBackend, self).__init__()
self._adb = adb
self._surface_stats_collector = None
- self._perf_tests_setup = perf_tests_helper.PerfControl(self._adb)
+ self._perf_tests_setup = perf_tests_results_helper.PerfControl(self._adb)
self._thermal_throttle = thermal_throttle.ThermalThrottle(self._adb)
self._no_performance_mode = no_performance_mode
self._raw_display_frame_rate_measurements = []
@@ -139,7 +140,7 @@
return False
def FlushEntireSystemCache(self):
- cache_control = perf_tests_helper.CacheControl(self._adb)
+ cache_control = perf_tests_results_helper.CacheControl(self._adb)
cache_control.DropRamCaches()
def FlushSystemCacheForDirectory(self, directory, ignoring=None):

Powered by Google App Engine
This is Rietveld 408576698