From 785be7a0e5d9b5c2f5e56f021a44468908a967f1 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Sat, 22 Mar 2014 16:54:40 +0000 Subject: [PATCH] - pass warmup parameter --- src/mesh/run_profiler.sh | 4 ++-- 1 file 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 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 -- 2.25.1