#!/bin/sh
#------------------------->  Bourne shell - script  <-------------------------#
#- Copyright (C) 199x by International Computer Science Institute            -#
#- This file is part of the GNU Sather package. It is free software; you may -#
#- redistribute  and/or modify it under the terms of the  GNU General Public -#
#- License (GPL)  as  published  by the  Free  Software  Foundation;  either -#
#- version 3 of the license, or (at your option) any later version.          -#
#- This  program  is distributed  in the  hope that it will  be  useful, but -#
#- WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY -#
#- or FITNESS FOR A PARTICULAR PURPOSE. See Doc/GPL for more details.        -#
#- The license text is also available from:  Free Software Foundation, Inc., -#
#- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                     -#
#------------->  Please email comments to <bug-sather@gnu.org>  <-------------#

#
# A driver for the sort programs
#

prog=$1
procs="1 2 3 4 5 6 7 8"
size=2000000
minsizes="10 20 30 40 50 60 70 80 90 100 110 120 130 140 150"
nproc=8

for minsize in $minsizes ; do
      set filenm="${prog}_trace.timec"
      echo ${prog} $nproc $size $minsize $filenm
      eval "${prog} $nproc $size $minsize $filenm"
done
