DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦6c0f4c0d5⟧ TextFile

    Length: 774 (0x306)
    Types: TextFile
    Names: »mips.run«

Derivation

└─⟦db229ac7e⟧ Bits:30007240 EUUGD20: SSBA 1.2 / AFW Benchmarks
    └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21E/mips/mips.run« 

TextFile

#! /bin/sh
#				SSBA 1.21E
#
# Script : mips.run
#
b=mips
log=$b.log
res=$b.res
TIME=../config/chrono
if [ ! -f $TIME ] ; then
	TIME=/bin/time
fi
d=`date`
echo "MIPS/JOY:	BEGIN execution at $d" >$log
	cat $b.doc >$res
	echo 99k2vp8op | $TIME dc 1>/dev/null 2>$b.tim
	cat $b.tim >>$log
	if [ -f $TIME ] ; then
		awk ' 	BEGIN { FS = "\t" }
			{ print 6.2/$3 " Mips/Joy" }' <$b.tim >$b.tmp
	else
		#
		# System V
		#
		if grep -s "^[Uu]ser" $b.tim >/dev/null ; then
			awk '/[Uu]ser/
				{ print 6.2/$2 " Mips/Joy" }' <$b.tim >$b.tmp
		#
		# BSD
		#
		elif grep -s " user" $b.tim >/dev/null ; then
			awk '	{ print 6.2/$3 " Mips/Joy" }' <$b.tim >$b.tmp
		fi
	fi
	echo "$b: `cat $b.tmp`" >>$res
	rm $b.tmp $b.tim 2>/dev/null
d=`date`
echo "MIPS/JOY:	END execution at $d" >>$log