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

Side by Side Diff: client/virt/tests/iozone_windows.py

Issue 6883246: Merge autotest upstream from @5318 ~ @5336 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/virt/tests/ioquit.py ('k') | client/virt/tests/jumbo.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import logging, os 1 import logging, os
2 from autotest_lib.client.bin import utils 2 from autotest_lib.client.bin import utils
3 from autotest_lib.client.tests.iozone import postprocessing 3 from autotest_lib.client.tests.iozone import postprocessing
4 4
5 5
6 def run_iozone_windows(test, params, env): 6 def run_iozone_windows(test, params, env):
7 """ 7 """
8 Run IOzone for windows on a windows guest: 8 Run IOzone for windows on a windows guest:
9 1) Log into a guest 9 1) Log into a guest
10 2) Execute the IOzone test contained in the winutils.iso 10 2) Execute the IOzone test contained in the winutils.iso
(...skipping 20 matching lines...) Expand all
31 utils.open_write_close(results_path, results) 31 utils.open_write_close(results_path, results)
32 32
33 # Postprocess the results using the IOzone postprocessing module 33 # Postprocess the results using the IOzone postprocessing module
34 logging.info("Iteration succeed, postprocessing") 34 logging.info("Iteration succeed, postprocessing")
35 a = postprocessing.IOzoneAnalyzer(list_files=[results_path], 35 a = postprocessing.IOzoneAnalyzer(list_files=[results_path],
36 output_dir=analysisdir) 36 output_dir=analysisdir)
37 a.analyze() 37 a.analyze()
38 p = postprocessing.IOzonePlotter(results_file=results_path, 38 p = postprocessing.IOzonePlotter(results_file=results_path,
39 output_dir=analysisdir) 39 output_dir=analysisdir)
40 p.plot_all() 40 p.plot_all()
OLDNEW
« no previous file with comments | « client/virt/tests/ioquit.py ('k') | client/virt/tests/jumbo.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698