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

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

Issue 642363002: Fix bad log message in AndroidPlatformBackend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 6 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/android_platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend.py b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
index 222f23e3042a7b50a0bfef7221dd91a8409cff5a..c99260b9ee5f61263ed05fdcdae45c704694f9b3 100644
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
@@ -68,8 +68,6 @@ class AndroidPlatformBackend(
power_controller, self._device)
self._video_recorder = None
self._installed_applications = None
- if self._enable_performance_mode:
- logging.warning('CPU governor will not be set!')
@classmethod
def SupportsDevice(cls, device):
@@ -109,9 +107,9 @@ class AndroidPlatformBackend(
def SetFullPerformanceModeEnabled(self, enabled):
if not self._enable_performance_mode:
+ logging.warning('CPU governor will not be set!')
return
if enabled:
- logging.info('Performance mode is enabled for android platform')
self._perf_tests_setup.SetHighPerfMode()
else:
self._perf_tests_setup.SetDefaultPerfMode()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698