summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/Colocated_Roundtrip/generate_acc.sh
blob: 52fd2b14d3b0bbc1986966e0041acb5d95abf385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

. parameters

for t in $TYPES; do
  for i in $t.*.dat; do
    b=`basename $i .dat`
    awk 'BEGIN {
           s = 0;
         }
         {
           s += $2;
           print $1, s
         }' $i > $b.acc.dat;
    echo $i
  done
done