Skip to content

Commit

Permalink
update rwf-tr
Browse files Browse the repository at this point in the history
  • Loading branch information
elem-azar-unis committed Oct 28, 2020
1 parent 9bc9e8d commit f98e530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified document/rwf-tr.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions experiment/result/result-env.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def read_one_round(data_dir):
if tmp[0] > err_sp or tmp[1] > err_sp:
data_skipped += 1
continue
ovhd += tmp[1] / tmp[0]
ovhd += tmp[1]
ovhd_c += 1
with open(data_dir + "/"+diff_file, "r") as file:
for line in file.readlines():
Expand Down Expand Up @@ -105,7 +105,7 @@ def plot_generic(r_read_diff, r_ovhd, rwf_read_diff, rwf_ovhd, name, ylable_read

plt.subplot(1, 2, 2)
plot_bar(r_ovhd, rwf_ovhd, name, xlable,
'average overhead per element: bytes')
'overhead: byte')

plt.tight_layout()
plt.savefig("{}.pdf".format(pname))
Expand Down Expand Up @@ -152,7 +152,7 @@ def speed_plot(r_read_diff, r_ovhd, rwf_read_diff, rwf_ovhd, name, ylable_read,

plt.subplot(1, 2, 2)
plot_bar(r_ovhd, rwf_ovhd, name, xlable,
'average overhead per element: bytes', s_name=s_name)
'overhead: byte', s_name=s_name)

plt.tight_layout()
plt.savefig("{}.pdf".format(pname))
Expand Down

0 comments on commit f98e530

Please sign in to comment.