projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2a6d0
)
- pass warmup parameter
author
Bart Polot
<bart@net.in.tum.de>
Sat, 22 Mar 2014 16:54:40 +0000
(16:54 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Sat, 22 Mar 2014 16:54:40 +0000
(16:54 +0000)
src/mesh/run_profiler.sh
patch
|
blob
|
history
diff --git
a/src/mesh/run_profiler.sh
b/src/mesh/run_profiler.sh
index bd9f239a467d0083ac6016a3fd5422de619d8177..7cdf7b7040c5c3fae1fe0d82cf8b4aad0557dba6 100755
(executable)
--- a/
src/mesh/run_profiler.sh
+++ b/
src/mesh/run_profiler.sh
@@
-15,11
+15,11
@@
if [ $PEERS -eq 1 ]; then
exit 1;
fi
-LINKS=`echo "l($PEERS) * $PEERS" | bc -l`
+LINKS=`echo "l($PEERS) *
l($PEERS) *
$PEERS" | bc -l`
LINKS=`printf "%.0f" $LINKS`
NSE=`echo "l($PEERS)/l(10)" | bc -l`
echo "using $PEERS peers, $LINKS links";
sed -e "s/%LINKS%/$LINKS/;s/%NSE%/$NSE/" profiler.conf > .profiler.conf
-./gnunet-mesh-profiler $ROUNDTIME $PEERS $PINGS |& tee log | grep -v DEBUG
+./gnunet-mesh-profiler $ROUNDTIME $PEERS $PINGS
$4
|& tee log | grep -v DEBUG