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:
7b6b96f
)
- add more links
author
Bart Polot
<bart@net.in.tum.de>
Sat, 22 Mar 2014 22:46:04 +0000
(22:46 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Sat, 22 Mar 2014 22:46:04 +0000
(22:46 +0000)
src/mesh/run_profiler.sh
patch
|
blob
|
history
diff --git
a/src/mesh/run_profiler.sh
b/src/mesh/run_profiler.sh
index 7cdf7b7040c5c3fae1fe0d82cf8b4aad0557dba6..63407c134a4c9362ebf13f2ce89caede03a0052d 100755
(executable)
--- a/
src/mesh/run_profiler.sh
+++ b/
src/mesh/run_profiler.sh
@@
-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";