[PATCH] IOzone preprocessing: Fix wrong column mapping on graph generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <lmr@xxxxxxxxxx>
---
 client/tests/iozone/postprocessing.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/iozone/postprocessing.py b/client/tests/iozone/postprocessing.py
index c995aea..3a77c83 100755
--- a/client/tests/iozone/postprocessing.py
+++ b/client/tests/iozone/postprocessing.py
@@ -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
-- 
1.7.0.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux