summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/generate_histo.sh
blob: 1415315f3d9f4b500d8dee8e30b4954fcddb444c (plain)
1
2
3
4
5
6
7
8
9
#/bin/sh
# $Id$

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