Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
672bdacd
Commit
672bdacd
authored
Mar 09, 2016
by
Andreas Schmidt
Browse files
Change evaluation script.
parent
122166aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
eval.py
View file @
672bdacd
...
...
@@ -5,7 +5,7 @@ import tests.perf as perf
def
run_setup_and_report
(
setup
):
results
=
setup
.
run
()
print
(
"Setup:
\n
"
,
setup
)
print
(
"Setup:
\n
"
,
setup
)
print
(
"Results:
\n
"
+
str
(
results
).
replace
(
"
\n
"
,
"
\n
"
))
if
__name__
==
"__main__"
:
...
...
@@ -13,7 +13,7 @@ if __name__ == "__main__":
# TODO: support multiple tests via proper socket termination
setups
=
[
perf
.
TestSetup
(
packets
=
2
**
8
,
delay
=
0
,
loss
=
0.5
,
reorder
=
0
,
duplicate
=
1
)
perf
.
TestSetup
(
packets
=
2
**
10
,
delay
=
0
,
loss
=
0.5
,
reorder
=
0
,
duplicate
=
0
)
]
for
setup
in
setups
:
...
...
Write
Preview
Supports
Markdown
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