summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/Colocated_Roundtrip/generate_histo.sh
blob: 68a239db84a74b06aa3efec76f50ae4a1676fa7e (plain)
1
2
3
4
5
6
7
8
9
10
#/bin/sh

. parameters

for i in *.txt; do
  b=`basename $i .txt`
  echo $i
  awk '/^HISTO/ {print $3}' $i | sort -n | uniq -c |
    awk -v N=$ITERATIONS '{print $2, $1 / N}' > $b.histo.dat
done