#
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms
# of the Common Development and Distribution License
# (the "License"). You may not use this file except
# in compliance with the License.
#
# You can obtain a copy of the license at
# See the License for the specific language governing
# permissions and limitations under the License.
#
# When distributing Covered Code, include this CDDL
# HEADER in each file and include the License file at
# usr/src/OPENSOLARIS.LICENSE. If applicable,
# add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your
# own identifying information: Portions Copyright [yyyy]
# [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
libmicro_version=`bin/tattle -V`
case $libmicro_version in
;;
*)
echo "ERROR: libMicro version doesn't match 'bench' script version"
exit 1
esac
OPTS="-E -C 200 -L -S -W"
# produce benchmark header for easier comparisons
fi
fi
while read A B
do
# $A contains the command, $B contains the arguments
# we echo blank lines and comments
# we ship anything which fails to match *$1* (useful
# if we only want to test one case, but a nasty hack)
case $A in
""|"#"*)
echo "$A $B"
continue
;;
*$1*)
;;
*)
continue
esac
then
fi
done <<.
#
# Obligatory null system call: use very short time
# for default since SuSe implements this "syscall" in userland
#
.