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
69020a8d
Commit
69020a8d
authored
Jun 25, 2020
by
Antoine Kaufmann
Browse files
results: add VR experiments
parent
530a84e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
1 deletion
+35
-1
results/Makefile
results/Makefile
+5
-1
results/vr_eval.sh
results/vr_eval.sh
+30
-0
No files found.
results/Makefile
View file @
69020a8d
...
@@ -4,7 +4,7 @@ clean:
...
@@ -4,7 +4,7 @@ clean:
rm
-rf
build
rm
-rf
build
build/results.tex
:
build/loc_corundum_bm build/loc_corundum_verilator
\
build/results.tex
:
build/loc_corundum_bm build/loc_corundum_verilator
\
build/nopaxos_eval
build/nopaxos_eval
build/vr_eval
@
echo
'%'
This is generated with make
in
the results directory
\
@
echo
'%'
This is generated with make
in
the results directory
\
of the ehsim repo
>
$@
of the ehsim repo
>
$@
cat
$^
>>
$@
cat
$^
>>
$@
...
@@ -21,3 +21,7 @@ build/loc_corundum_verilator: loccount_corundum_verilator.sh common-functions.sh
...
@@ -21,3 +21,7 @@ build/loc_corundum_verilator: loccount_corundum_verilator.sh common-functions.sh
build/nopaxos_eval
:
nopaxos_eval.sh common-functions.sh
build/nopaxos_eval
:
nopaxos_eval.sh common-functions.sh
@
mkdir
-p
$(
dir
$@
)
@
mkdir
-p
$(
dir
$@
)
bash nopaxos_eval.sh
>
$@
bash nopaxos_eval.sh
>
$@
build/vr_eval
:
vr_eval.sh common-functions.sh
@
mkdir
-p
$(
dir
$@
)
bash vr_eval.sh
>
$@
results/vr_eval.sh
0 → 100644
View file @
69020a8d
#!/bin/bash
source
common-functions.sh
for
exp
in
QemuBm QemuVerilator GemBm GemVerilator
do
case
$exp
in
QemuBm
)
dn
=
qemu-ns3-vr
;;
QemuVerilator
)
dn
=
qemu-ns3-vr-verilator
;;
GemBm
)
dn
=
gem5-timing-corundum-bm-ns3-vr-nocp
;;
GemVerilator
)
dn
=
gem5-timing-corundum-verilator-ns3-vr-nocp
;;
*
)
echo
"bad experiment
$exp
"
1>&2
;
exit
1
;;
esac
avg_lat
=
"
`
nopaxos_avglatencies
$dn
| average
`
"
min_lat
=
"
`
nopaxos_avglatencies
$dn
| min
`
"
max_lat
=
"
`
nopaxos_avglatencies
$dn
| max
`
"
avg_dur
=
"
`
exp_durations
$dn
| average
`
"
min_dur
=
"
`
exp_durations
$dn
| min
`
"
max_dur
=
"
`
exp_durations
$dn
| max
`
"
echo
"
\\
newcommand{
\\
DataVR
${
exp
}
AvgLat}{
$avg_lat
}"
echo
"
\\
newcommand{
\\
DataVR
${
exp
}
MinLat}{
$min_lat
}"
echo
"
\\
newcommand{
\\
DataVR
${
exp
}
MaxLat}{
$max_lat
}"
echo
"
\\
newcommand{
\\
DataVR
${
exp
}
AvgDur}{
$avg_dur
}"
echo
"
\\
newcommand{
\\
DataVR
${
exp
}
MinDur}{
$min_dur
}"
echo
"
\\
newcommand{
\\
DataVR
${
exp
}
MaxDur}{
$max_dur
}"
done
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