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

Unified Diff: tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor.py

Issue 1553533002: Fix android perf bot issue caused by 1550803002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/internal/platform/power_monitor/sysfs_power_monitor.py
diff --git a/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor.py b/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor.py
index 2a9bd6048acfeb96412a6d99312e3af2dea5d1ad..85e5d30b681341c31ecaa69572280152cdf29109 100644
--- a/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor.py
+++ b/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor.py
@@ -122,6 +122,7 @@ class SysfsPowerMonitor(power_monitor.PowerMonitor):
logging.warning(
'Cannot read cpu frequency times for %s due to %s not existing'
% (cpu, cpu_freq_path))
+ stats[cpu] = None
Xianzhu 2015/12/29 19:37:03 I used another method in https://codereview.chromi
Yoland Yan(Google) 2015/12/29 19:50:48 Hmm you are right, I have never seen cpuidle not e
continue
try:
stats[cpu] = self._platform.GetFileContents(cpu_freq_path)
« 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