diff options
-rwxr-xr-x | plot.py | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -56,7 +56,7 @@ def scenario_heading(conf, want_period=False): | |||
56 | dist = 'unknown distribution' | 56 | dist = 'unknown distribution' |
57 | if 'dist' in conf: | 57 | if 'dist' in conf: |
58 | if conf['dist'] == 'uni': | 58 | if conf['dist'] == 'uni': |
59 | dist = 'util. uniformly ' | 59 | dist = 'utilization uniformly ' |
60 | if 'light' in conf: | 60 | if 'light' in conf: |
61 | dist = dist + 'in [0.001, 0.1]' | 61 | dist = dist + 'in [0.001, 0.1]' |
62 | elif 'medium' in conf: | 62 | elif 'medium' in conf: |
@@ -97,7 +97,7 @@ class SchedPlotter(defapp.App): | |||
97 | fname=name, **xtra) | 97 | fname=name, **xtra) |
98 | 98 | ||
99 | def plot_paper(self, graphs, title, name, conf, **xtra): | 99 | def plot_paper(self, graphs, title, name, conf, **xtra): |
100 | tops = 'color solid font "Helvetica,12" linewidth 1.0 rounded size 16cm,8.5cm' | 100 | tops = 'color solid font "Helvetica,10" linewidth 1.0 rounded size 16cm,8.5cm' |
101 | gnuplot(graphs, title=title, | 101 | gnuplot(graphs, title=title, |
102 | xlabel=self.options.xlabel, | 102 | xlabel=self.options.xlabel, |
103 | ylabel=self.options.ylabel + | 103 | ylabel=self.options.ylabel + |
@@ -177,18 +177,18 @@ class SchedPlotter(defapp.App): | |||
177 | def plot_rtss09(self, tmpfile, name, conf): | 177 | def plot_rtss09(self, tmpfile, name, conf): |
178 | title = scenario_heading(conf, want_period=True) | 178 | title = scenario_heading(conf, want_period=True) |
179 | graphs = [ | 179 | graphs = [ |
180 | (tmpfile, 1, 2, 'ideal (no overheads)'), | 180 | (tmpfile, 1, 2, 'ideal'), |
181 | (tmpfile, 1, 3, 'baseline'), | 181 | (tmpfile, 1, 3, 'SEm'), |
182 | (tmpfile, 1, 4, 'baseline/rp'), | 182 | (tmpfile, 1, 4, 'SE1'), |
183 | (tmpfile, 1, 5, 'fine-grained heap'), | 183 | (tmpfile, 1, 5, 'FEm'), |
184 | (tmpfile, 1, 6, 'fine-grained heap/rp'), | 184 | (tmpfile, 1, 6, 'FE1'), |
185 | (tmpfile, 1, 7, 'two-level queue'), | 185 | (tmpfile, 1, 7, 'HEm'), |
186 | (tmpfile, 1, 8, 'quantum-driven'), | 186 | (tmpfile, 1, 8, 'SQm'), |
187 | (tmpfile, 1, 9, 'quantum-driven/rp'), | 187 | (tmpfile, 1, 9, 'SQ1'), |
188 | ] | 188 | ] |
189 | staggered = [ | 189 | staggered = [ |
190 | (tmpfile, 1, 10, 'staggered quantum-driven'), | 190 | (tmpfile, 1, 10, 'S-SQm'), |
191 | (tmpfile, 1, 11, 'staggered quantum-driven/rp'), | 191 | (tmpfile, 1, 11, 'S-SQ1'), |
192 | ] | 192 | ] |
193 | if 'hard' in conf: | 193 | if 'hard' in conf: |
194 | graphs += staggered | 194 | graphs += staggered |