[Mplayer-cvslog] CVS: main/TOOLS/benchmark-gab benchmark,1.1,1.2 start,1.1,1.2 variables,1.1,1.2

Winner of tha face compo gabucino at mplayerhq.hu
Sat Aug 31 10:17:05 CEST 2002


Update of /cvsroot/mplayer/main/TOOLS/benchmark-gab
In directory mail:/var/tmp.root/cvs-serv18757

Modified Files:
	benchmark start variables 
Log Message:
v0.91
small misc fixes
100l fix, for xv+xmga benchmarks, only VC was benchmarked, now total time
everywhere


Index: benchmark
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/benchmark-gab/benchmark,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- benchmark	30 Aug 2002 21:16:52 -0000	1.1
+++ benchmark	31 Aug 2002 08:16:44 -0000	1.2
@@ -13,19 +13,19 @@
   wrtlog "Options for this file:"
   wrtlog "$BENCHOPTS"
   BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`"
-  VC=`echo $BENCH | awk '{print $3}'`
+  VC=`echo $BENCH | awk '{print $11}'`
   SYS=`echo $BENCH | awk '{print $9}'`
-  wrtlog VC: $VC \(Sys: $SYS\)
+  wrtlog Total: $VC \(Sys: $SYS\)
 
   BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`"
-  VC=`echo $BENCH | awk '{print $3}'`
+  VC=`echo $BENCH | awk '{print $11}'`
   SYS=`echo $BENCH | awk '{print $9}'`
-  wrtlog VC: $VC \(Sys: $SYS\)
+  wrtlog Total: $VC \(Sys: $SYS\)
 
   BENCH="`$BUILD/mplayer $DEFAULTOPTS $BENCHOPTS $i 2>&1 | grep BENCHMARKs`"
-  VC=`echo $BENCH | awk '{print $3}'`
+  VC=`echo $BENCH | awk '{print $11}'`
   SYS=`echo $BENCH | awk '{print $9}'`
-  wrtlog VC: $VC \(Sys: $SYS\)
+  wrtlog Total: $VC \(Sys: $SYS\)
 done
 }
 
@@ -38,7 +38,7 @@
 
 if [ ! -e no_codec ]; then
   wrtlog Starting CODEC benchmark runs, with 3 tries...
-  DEFAULTOPTS="-nosound -benchmark -vo null -vop disabled -autoq 0"
+  DEFAULTOPTS="-quiet -nosound -benchmark -vo null -vop disabled -autoq 0"
   benchsamples
 fi
 
@@ -48,25 +48,25 @@
 if [ ! -e no_xv ]; then
   if [ ! -e no_xv_nodr ]; then
     wrtlog Starting XVideo \(no DR\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xv -fs -nodr -slices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -slices -vop disabled -autoq 0"
     benchsamples
   fi
 
   if [ ! -e no_xv_nodr_noslices ]; then
     wrtlog Starting XVideo \(no DR\) \(no slices\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xv -fs -nodr -noslices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -noslices -vop disabled -autoq 0"
     benchsamples
   fi
 
   if [ ! -e no_xv_dr ]; then
     wrtlog Starting XVideo \(DR\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xv -fs -dr -slices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -slices -vop disabled -autoq 0"
     benchsamples
   fi
 
   if [ ! -e no_xv_dr_noslices ]; then
     wrtlog Starting XVideo \(DR\) \(no slices\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xv -fs -dr -noslices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -noslices -vop disabled -autoq 0"
     benchsamples
   fi
 fi
@@ -74,25 +74,25 @@
 if [ -e xmga ]; then
   if [ ! -e xmga_nodr ]; then
     wrtlog Starting XMGA \(no DR\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -slices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -slices -vop disabled -autoq 0"
     benchsamples
   fi
 
   if [ ! -e xmga_nodr_noslices ]; then
     wrtlog Starting XMGA \(no DR\) \(no slices\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
     benchsamples
   fi
 
   if [ ! -e xmga_dr ]; then
     wrtlog Starting XMGA \(DR\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -vop disabled -autoq 0"
     benchsamples
   fi
 
   if [ ! -e xmga_dr ]; then
     wrtlog Starting XMGA \(DR\) \(no slices\) benchmark runs, with 3 tries...
-    DEFAULTOPTS="-nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
+    DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
     benchsamples
   fi
 fi

Index: start
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/benchmark-gab/start,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- start	30 Aug 2002 21:16:52 -0000	1.1
+++ start	31 Aug 2002 08:16:44 -0000	1.2
@@ -4,7 +4,7 @@
 
 rm -f $LOGFILE
 
-wrtlog Script version v0.9
+wrtlog Script version v0.91
 wrtlog CPU: $VENDOR $MODEL $MHZ
 wrtlog MEM: $MEMORY
 wrtlog VGA: $VGA

Index: variables
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/benchmark-gab/variables,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- variables	30 Aug 2002 21:16:52 -0000	1.1
+++ variables	31 Aug 2002 08:16:44 -0000	1.2
@@ -1,4 +1,5 @@
 #!/bin/sh
+export PATH=$PATH:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin
 
 VENDOR="`cat /proc/cpuinfo | grep vendor_id | cut -c 13-`"
 MODEL="`cat /proc/cpuinfo | grep "model name" | cut -c 14-`"
@@ -7,10 +8,8 @@
 BUILD="`echo $VENDOR $MODEL $MHZ | tr [\ ] [_]`"
 VGA="`lspci | grep VGA | cut -c 36-`"
 
-export LOGFILE="`pwd`/$BUILD.logs/log-`date +\"%Y-%m-%d\"`"
+export LOGFILE="`pwd`/log-$BUILD-`date +\"%Y-%m-%d\"`"
 export COMPILEOPTIONS="--enable-runtime-cpudetection"
-
-mkdir $BUILD.logs 2> /dev/null
 
 function wrtlog {
 	echo "[ `date +\"%Y-%m-%d %T\"` ] $*" >> "$LOGFILE"




More information about the MPlayer-cvslog mailing list