Last change
on this file since 996 was
996,
checked in by cfuguet, 9 years ago
|
reconf: introduce scripts to get transactions latency in the synthetic
platform.
|
-
Property svn:executable set to
*
|
File size:
593 bytes
|
Line | |
---|
1 | #!/usr/bin/env sh |
---|
2 | LOGDIR=logs |
---|
3 | COMMON="-X 5 -Y 5 -N 3000" |
---|
4 | |
---|
5 | mkdir -p $LOGDIR |
---|
6 | for (( x = 0; x < 5; x++ )); do |
---|
7 | for (( y = 0; y < 5; y++ )); do |
---|
8 | for (( fx = 0; fx < 5; fx++ )); do |
---|
9 | for (( fy = 0; fy < 5; fy++ )); do |
---|
10 | if [[ ( $x == $fx ) && ( $y == $fy ) ]]; then continue; fi |
---|
11 | LOGFILE=$LOGDIR/$(echo log'_'$x'_'$y'_'$fx'_'$fy); |
---|
12 | ARGS="$COMMON -SX $x -SY $y -FX $fx -FY $fy"; |
---|
13 | echo "./simul.x $ARGS ($LOGFILE)" |
---|
14 | ./simul.x $ARGS > $LOGFILE 2>/dev/null; |
---|
15 | ./broadcast_check.sh $LOGFILE |
---|
16 | if [[ $? == 1 ]]; then |
---|
17 | echo "FAILURE"; |
---|
18 | exit 1; |
---|
19 | fi |
---|
20 | done |
---|
21 | done |
---|
22 | done |
---|
23 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.