Exemplo n.º 1
0
bfdata = [zip(bffrac, bfcore1), zip(bffrac, bfcore2), zip(bffrac, bfcore4)]
bfxtics = [0.18, 0.36, 0.73, 1.47, 2.94, 5.88]
bfxlabel = 'Percentage Overhead of Bloom Filter vs Cache Size'
bfylabel = '\% Weighted Speedup Improvement over LRU'
bflegend = ['1-Core', '2-Core', '4-Core']
bfystep = 3

bfplotname = 'bf-size'

#################################

plot = PlotLib()

legend = eflegend
plot.set_y_tics_step(efystep)
plot.set_y_tics_shift(0)
plot.set_legend_shift(-50, -10)
plot.set_plot_dimensions(150, 80)
plot.set_scale(0.5)
plot.set_y_tics_font_size("scriptsize")
plot.set_x_tics_font_size("scriptsize")
plot.set_y_label_font_size("small")
plot.set_x_label_font_size("small")
plot.set_ceiling(0.8)

plot.xlabel(efxlabel, yshift=-10, fontsize="small", options="[scale=0.8]")
plot.ylabel(efylabel, xshift=-2, fontsize="small", options="[scale=0.8]")

plot.continuous_lines(efdata,
                      legend=legend,
                      xtics=eaffrac,
Exemplo n.º 2
0
bfdata = [zip(bffrac, bfcore1), zip(bffrac, bfcore2), zip(bffrac, bfcore4)]
bfxtics = [0.18, 0.36, 0.73, 1.47, 2.94, 5.88]
bfxlabel = 'Percentage Overhead of Bloom Filter vs Cache Size'
bfylabel = '\% Weighted Speedup Improvement over LRU'
bflegend = ['1-Core', '2-Core', '4-Core']
bfystep = 3

bfplotname = 'bf-size'

#################################

plot = PlotLib()

legend = eflegend
plot.set_y_tics_step(efystep)
plot.set_y_tics_shift(0)
plot.set_legend_shift(-50,-10)
plot.set_plot_dimensions(150,80)
plot.set_scale(0.5)
plot.set_y_tics_font_size("scriptsize")
plot.set_x_tics_font_size("scriptsize")
plot.set_y_label_font_size("small")
plot.set_x_label_font_size("small")
plot.set_ceiling(0.8)

plot.xlabel(efxlabel, yshift = -10, fontsize = "small", options =
"[scale=0.8]")
plot.ylabel(efylabel, xshift = -2, fontsize = "small", options = "[scale=0.8]")

plot.continuous_lines(efdata, legend = legend, xtics = eaffrac, use_markers = 2, x_padding = 5)