| OLD | NEW |
| 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 Loading... |
| 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() |
| OLD | NEW |