projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git]
/
src
/
cadet
/
run_profiler.sh
diff --git
a/src/cadet/run_profiler.sh
b/src/cadet/run_profiler.sh
index aba6ce4d4a98cf22b824006b85ccd312e135dea5..ed78d1206d8b3f16557a314a72dd60a5e83770ea 100755
(executable)
--- a/
src/cadet/run_profiler.sh
+++ b/
src/cadet/run_profiler.sh
@@
-15,7
+15,7
@@
if [ $PEERS -eq 1 ]; then
exit 1;
fi
-LINKS=`echo "l($PEERS)
/l(2) * $PEERS
" | bc -l`
+LINKS=`echo "l($PEERS)
* l($PEERS) * $PEERS / 2
" | bc -l`
LINKS=`printf "%.0f" $LINKS`
NSE=`echo "l($PEERS)/l(2)" | bc -l`
echo "using $PEERS peers, $LINKS links";