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

Unified Diff: tools/telemetry/telemetry/core/platform/power_monitor/powermetrics_power_monitor.py

Issue 325593002: [Telemetry] s/ouput/output/ typo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/power_monitor/powermetrics_power_monitor.py
diff --git a/tools/telemetry/telemetry/core/platform/power_monitor/powermetrics_power_monitor.py b/tools/telemetry/telemetry/core/platform/power_monitor/powermetrics_power_monitor.py
index 5ef5d9bcfb149c649c2eda74d8d1ae807f13545f..df89153c2fbc4d4f2cea6db25b78f8f823464415 100644
--- a/tools/telemetry/telemetry/core/platform/power_monitor/powermetrics_power_monitor.py
+++ b/tools/telemetry/telemetry/core/platform/power_monitor/powermetrics_power_monitor.py
@@ -23,7 +23,7 @@ class PowerMetricsPowerMonitor(power_monitor.PowerMonitor):
self._powermetrics_process = None
self._backend = backend
self._output_filename = None
- self._ouput_directory = None
+ self._output_directory = None
@property
def binary_path(self):
@@ -39,8 +39,8 @@ class PowerMetricsPowerMonitor(power_monitor.PowerMonitor):
# we create a temp directory and have powermetrics create it's output
# there rather than say, creating a tempfile, deleting it and reusing its
# name.
- self._ouput_directory = tempfile.mkdtemp()
- self._output_filename = os.path.join(self._ouput_directory,
+ self._output_directory = tempfile.mkdtemp()
+ self._output_filename = os.path.join(self._output_directory,
'powermetrics.output')
args = ['-f', 'plist',
'-i', '%d' % SAMPLE_INTERVAL_MS,
@@ -257,7 +257,7 @@ class PowerMetricsPowerMonitor(power_monitor.PowerMonitor):
powermetrics_output)
finally:
- shutil.rmtree(self._ouput_directory)
- self._ouput_directory = None
+ shutil.rmtree(self._output_directory)
+ self._output_directory = None
self._output_filename = None
self._powermetrics_process = None
« 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