Skip to content

Commit f98e530

Browse files
update rwf-tr
1 parent 9bc9e8d commit f98e530

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

document/rwf-tr.pdf

604 Bytes
Binary file not shown.

experiment/result/result-env.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def read_one_round(data_dir):
2727
if tmp[0] > err_sp or tmp[1] > err_sp:
2828
data_skipped += 1
2929
continue
30-
ovhd += tmp[1] / tmp[0]
30+
ovhd += tmp[1]
3131
ovhd_c += 1
3232
with open(data_dir + "/"+diff_file, "r") as file:
3333
for line in file.readlines():
@@ -105,7 +105,7 @@ def plot_generic(r_read_diff, r_ovhd, rwf_read_diff, rwf_ovhd, name, ylable_read
105105

106106
plt.subplot(1, 2, 2)
107107
plot_bar(r_ovhd, rwf_ovhd, name, xlable,
108-
'average overhead per element: bytes')
108+
'overhead: byte')
109109

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

153153
plt.subplot(1, 2, 2)
154154
plot_bar(r_ovhd, rwf_ovhd, name, xlable,
155-
'average overhead per element: bytes', s_name=s_name)
155+
'overhead: byte', s_name=s_name)
156156

157157
plt.tight_layout()
158158
plt.savefig("{}.pdf".format(pname))

0 commit comments

Comments
 (0)