diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-27 11:54:54 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-27 11:54:54 -0400 |
commit | 0fbeff4a0887a48dea0a95a1d51e4ff9766c8d12 (patch) | |
tree | c5809ae94e6e74cbcec81d258d0f22e932622905 /plot_pm.py | |
parent | a048bb28a4f1377e81cecdefc3f9fb64f4bab7ed (diff) |
Fix "proper" iteration on arrays and typos
Diffstat (limited to 'plot_pm.py')
-rwxr-xr-x | plot_pm.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -27,10 +27,10 @@ defaults = { | |||
27 | 'alloh' : False, | 27 | 'alloh' : False, |
28 | 'type' : 'hard', | 28 | 'type' : 'hard', |
29 | 'format' : 'show', | 29 | 'format' : 'show', |
30 | 'xrange' : (99.5, 200.5), | 30 | 'xrange' : (74.5, 250.5), |
31 | 'yrange' : (0, 5300.05), | 31 | 'yrange' : (0, 5000), |
32 | 'xticks' : (0, 10), | 32 | 'xticks' : (0, 25), |
33 | 'yticks' : (0, 100), | 33 | 'yticks' : (0, 250), |
34 | 'title' : None, | 34 | 'title' : None, |
35 | 'xlabel' : 'number of tasks', | 35 | 'xlabel' : 'number of tasks', |
36 | 'ylabel' : 'overhead (us)', | 36 | 'ylabel' : 'overhead (us)', |
@@ -134,8 +134,8 @@ class PmPlotter(defapp.App): | |||
134 | self.plot(graphs, title, name, conf) | 134 | self.plot(graphs, title, name, conf) |
135 | 135 | ||
136 | def add_to_graph_list(self, tmpfile, name, conf): | 136 | def add_to_graph_list(self, tmpfile, name, conf): |
137 | self.title += overhead_heading(conf, sharedL3=self.options.sharedL3) | 137 | #self.title += overhead_heading(conf, sharedL3=self.options.sharedL3) |
138 | self.title += ' ; ' | 138 | #self.title += ' ; ' |
139 | wsslist = conf['wss'].split(',') | 139 | wsslist = conf['wss'].split(',') |
140 | wsspos = 2 | 140 | wsspos = 2 |
141 | if 'soft' in conf: | 141 | if 'soft' in conf: |
@@ -175,7 +175,7 @@ class PmPlotter(defapp.App): | |||
175 | else: | 175 | else: |
176 | self.plot_pm(tmpfile.name, name, conf) | 176 | self.plot_pm(tmpfile.name, name, conf) |
177 | else: | 177 | else: |
178 | self.err("Skipped '%s'; unkown experiment type." | 178 | self.err("Skipped '%s'; unknown experiment type." |
179 | % bname) | 179 | % bname) |
180 | 180 | ||
181 | if self.options.alloh: | 181 | if self.options.alloh: |