Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
cf6f916b
Commit
cf6f916b
authored
Dec 10, 2020
by
Hejing Li
Browse files
Merge branch 'master' of
https://github.com/FreakyPenguin/endhostsim-code
parents
cb2e8bf8
41f305c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
results/netperf.py
results/netperf.py
+2
-2
results/udp.py
results/udp.py
+2
-2
No files found.
results/netperf.py
View file @
cf6f916b
...
@@ -44,5 +44,5 @@ for (h,h_l) in hosts:
...
@@ -44,5 +44,5 @@ for (h,h_l) in hosts:
tp
=
fmt_tp
(
data
.
get
(
'throughput'
,
''
))
tp
=
fmt_tp
(
data
.
get
(
'throughput'
,
''
))
latMean
=
fmt_lat
(
data
.
get
(
'latenyMean'
,
''
))
latMean
=
fmt_lat
(
data
.
get
(
'latenyMean'
,
''
))
latTail
=
fmt_lat
(
data
.
get
(
'latenyTail'
,
''
))
latTail
=
fmt_lat
(
data
.
get
(
'latenyTail'
,
''
))
print
(
' %s & %s & %s & %s & %s & %s
& %s
\\\\
'
%
(
h_l
,
nic_l
,
net_l
,
print
(
' %s & %s & %s & %s & %s & %s
\\\\
'
%
(
h_l
,
nic_l
,
net_l
,
tp
,
latMean
,
latTail
,
t
))
tp
,
latMean
,
t
))
results/udp.py
View file @
cf6f916b
...
@@ -10,8 +10,8 @@ if len(sys.argv) != 2:
...
@@ -10,8 +10,8 @@ if len(sys.argv) != 2:
basedir
=
sys
.
argv
[
1
]
+
'/'
basedir
=
sys
.
argv
[
1
]
+
'/'
# FIXME: dropped 1
4
0 because it looks off
# FIXME: dropped 1
2
0 because it looks off
types_of_bw
=
[
0
,
20
,
40
,
60
,
80
,
100
,
1
2
0
,
200
,
500
,
800
,
1000
]
types_of_bw
=
[
0
,
20
,
40
,
60
,
80
,
100
,
1
4
0
,
200
,
500
,
800
,
1000
]
for
bw
in
types_of_bw
:
for
bw
in
types_of_bw
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment