Skip to content

Commit

Permalink
Merge branch 'master' of github.com:/eduardoschulz/Interoperabilidade
Browse files Browse the repository at this point in the history
  • Loading branch information
gckopper committed Apr 8, 2024
2 parents 0c079d1 + d455215 commit 4517f60
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions graphs/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

cores = [
"OAI CN",
"Open5Gs",
"Free5Gc",
"Open5GS",
"Free5GC",
]

def conv(x):
Expand Down
4 changes: 2 additions & 2 deletions graphs/iperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
]
labels = [
"OAI CN",
"Open5Gs",
"Free5Gc",
"Open5GS",
"Free5GC",
]
rans = [
"OAI RAN",
Expand Down
6 changes: 3 additions & 3 deletions graphs/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def read_file(path: str):
]
labels = [
"OAI CN",
"Open5Gs",
"Free5Gc",
"Open5GS",
"Free5GC",
]
rans = [
"OAI RAN",
Expand All @@ -44,7 +44,7 @@ def build(save=True):


dataset = list(map(lambda path: read_file(path), paths))
ax.set_ylabel("Latência (ms)", fontsize=16)
ax.set_ylabel("RTT (ms)", fontsize=16)
ax.set_ylim((0, 64))
colors = ["#7EA16B", "#C3D898"]
b = ax.boxplot(dataset, labels=rans, medianprops={"color": "#000000"})
Expand Down
6 changes: 3 additions & 3 deletions graphs/ram.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
]
labels = [
"OAI CN",
"Open5Gs",
"Free5Gc",
"Open5GS",
"Free5GC",
]

rans = [
Expand Down Expand Up @@ -68,7 +68,7 @@ def build(save=True):
ax.legend(loc='upper right', ncols=2, fontsize=12)

#fig.set_tight_layout()
fig.set_size_inches(8, 4.2)
fig.set_size_inches(8, 3.6)
#plt.show()
if save:
fig.savefig("figs/ram.pdf", dpi=100)
Expand Down
4 changes: 2 additions & 2 deletions graphs/retransmissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
]
labels = [
"OAI CN",
"Open5Gs",
"Free5Gc",
"Open5GS",
"Free5GC",
]

rans = ["OAI RAN", "srsRAN"]
Expand Down
6 changes: 3 additions & 3 deletions graphs/ric.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
]
labels = [
"Flexric",
"ORAN SC RIC",
"O-RAN SC RIC",
]
rans = [
["OAI RAN",
Expand All @@ -20,7 +20,7 @@
]
limits = [
(0, 4000),
(100, 10000),
(1, 10000),
]

ylabels = [
Expand Down Expand Up @@ -61,7 +61,7 @@ def build(save=True):

fig.tight_layout(pad=0.1)

fig.set_size_inches(8, 4.2)
fig.set_size_inches(8, 4)
#plt.show()
if save:
fig.savefig("figs/ric.pdf", dpi=100)
Expand Down
6 changes: 3 additions & 3 deletions graphs/rtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
]
labels = [
"OAI CN",
"Open5Gs",
"Free5Gc",
"Open5GS",
"Free5GC",
]
rans = [
"OAI RAN",
Expand All @@ -38,7 +38,7 @@ def build(save=True):
count = len(files)
total_count = len(labels)
fig, ax = plt.subplots(1,1)
fig.supylabel("Tempo de Ida e Volta (ms)", fontsize=16)
fig.supylabel("RTT (ms)", fontsize=16)

dataset = []
for i in range(count):
Expand Down

0 comments on commit 4517f60

Please sign in to comment.