- add more links
authorBart Polot <bart@net.in.tum.de>
Sat, 22 Mar 2014 22:46:04 +0000 (22:46 +0000)
committerBart Polot <bart@net.in.tum.de>
Sat, 22 Mar 2014 22:46:04 +0000 (22:46 +0000)
src/mesh/run_profiler.sh

index 7cdf7b7040c5c3fae1fe0d82cf8b4aad0557dba6..63407c134a4c9362ebf13f2ce89caede03a0052d 100755 (executable)
@@ -15,7 +15,7 @@ if [ $PEERS -eq 1 ]; then
     exit 1;
 fi
 
-LINKS=`echo "l($PEERS) * l($PEERS) * $PEERS" | bc -l`
+LINKS=`echo "l($PEERS)/l(2) * $PEERS" | bc -l`
 LINKS=`printf "%.0f" $LINKS`
 NSE=`echo "l($PEERS)/l(10)" | bc -l`
 echo "using $PEERS peers, $LINKS links";