IOzone preprocessing: Fix wrong column mapping on graph generation
PATCH 1/1 IOzone preprocessing: Fix wrong column mapping on graph generation
Fix a silly bug on graph generation: it was mapping the wrong columns when plotting the 2D throughput graphs. Sorry for the mistake.
--- client/tests/iozone/postprocessing.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/iozone/postprocessing.py +1 -1
@@ -384,7 +384,7 @@ class IOzonePlotter(object): record size vs. throughput. """ datasource_2d = os.path.join(self.output_dir, '2d-datasource-file') - for index, label in zip(range(1, 14), _LABELS[2:]): + for index, label in zip(range(2, 15), _LABELS[2:]): commands_path = os.path.join(self.output_dir, '2d-%s.do' % label) commands = "" commands += "set title 'Iozone performance: %s'\n" % label
Signature · 1 line
1.7.0.1
LGTM
Quoted 30 lines · Lucas Meneghel Rodrigues
Fix a silly bug on graph generation: it was mapping the wrong columns when plotting the 2D throughput graphs. Sorry for the mistake.
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>---
client/tests/iozone/postprocessing.py | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)client/tests/iozone/postprocessing.py +0
-0@@ -384,7 +384,7 @@ class IOzonePlotter(object):record size vs. throughput.
"""
datasource_2d=os.path.join(self.output_dir, '2d-datasource-file')
- for index, label inzip(range(1, 14), _LABELS[2:]):
+ for index, label inzip(range(2, 15), _LABELS[2:]):
commands_path=os.path.join(self.output_dir, '2d-%s.do' % label)commands = ""
commands += "set title 'Iozone performance: %s'\n" % label --
1.7.0.1_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest