aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-22 16:54:40 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-22 16:54:40 +0000
commit785be7a0e5d9b5c2f5e56f021a44468908a967f1 (patch)
tree97183f57c24db16dc02109d6e00fd2293424276e /src
parentcb2a6d020ce422383dffda49636c6e6856e57847 (diff)
downloadgnunet-785be7a0e5d9b5c2f5e56f021a44468908a967f1.tar.gz
gnunet-785be7a0e5d9b5c2f5e56f021a44468908a967f1.zip
- pass warmup parameter
Diffstat (limited to 'src')
-rwxr-xr-xsrc/mesh/run_profiler.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/run_profiler.sh b/src/mesh/run_profiler.sh
index bd9f239a4..7cdf7b704 100755
--- a/src/mesh/run_profiler.sh
+++ b/src/mesh/run_profiler.sh
@@ -15,11 +15,11 @@ if [ $PEERS -eq 1 ]; then
15 exit 1; 15 exit 1;
16fi 16fi
17 17
18LINKS=`echo "l($PEERS) * $PEERS" | bc -l` 18LINKS=`echo "l($PEERS) * l($PEERS) * $PEERS" | bc -l`
19LINKS=`printf "%.0f" $LINKS` 19LINKS=`printf "%.0f" $LINKS`
20NSE=`echo "l($PEERS)/l(10)" | bc -l` 20NSE=`echo "l($PEERS)/l(10)" | bc -l`
21echo "using $PEERS peers, $LINKS links"; 21echo "using $PEERS peers, $LINKS links";
22 22
23sed -e "s/%LINKS%/$LINKS/;s/%NSE%/$NSE/" profiler.conf > .profiler.conf 23sed -e "s/%LINKS%/$LINKS/;s/%NSE%/$NSE/" profiler.conf > .profiler.conf
24 24
25./gnunet-mesh-profiler $ROUNDTIME $PEERS $PINGS |& tee log | grep -v DEBUG 25./gnunet-mesh-profiler $ROUNDTIME $PEERS $PINGS $4 |& tee log | grep -v DEBUG