summaryrefslogtreecommitdiff
path: root/performance-tests/TTCP/Orbix/run_test
blob: 842be36c4ac7330ef2e24acdb3692429ac8c077a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/csh -f
if ($#argv < 3) then
	echo "Usage: sclt <Max msg size> <destination> <TitleOfThisTest> -q"
	exit 1
endif
#
@ msize=1024
@ limit= ($argv[1] * 1024)
#echo $limit
#echo $msize 
echo "Iteration#" 1 ": client -D -fm -s -t -l" $msize "-h" $2 "-L" $3 $4
client -D -fm -s -t -l $msize -h $2 -x -L $3 $4
set flag=0
while ($msize <= $limit)
  if ($flag == 0) goto label
     echo "Iteration#" 1 ": client -D -fm -s -t -l" $msize "-h" $2 "-x -L" $3 $4
     client -D -fm -s -t -l $msize -h $2 -x -L $3 $4
 label:
  set flag=1
  foreach i (2 3 4 5)
	echo "Iteration#" $i ": client -D -fm -s -t -l" $msize "-h" $2 "-x -L " $3 $4
 	client -D -fm -s -t -l $msize -h $2 -L $3 $4
  end
	echo "---------------------------"
	@ msize = ($msize * 2)
end 

echo " "
echo "Done at:" 
date