summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/generate_histo.sh
blob: 9837c080edfc90eba578532837fb7d29650b8000 (plain)
1
2
3
4
5
6
7
8
#/bin/sh

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