From e9105a9b644bd3b11adf962ed31711ea98ef0732 Mon Sep 17 00:00:00 2001 From: gabucino Date: Sat, 31 Aug 2002 14:19:11 +0000 Subject: some fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7198 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/benchmark-gab/variables | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TOOLS/benchmark-gab/variables') diff --git a/TOOLS/benchmark-gab/variables b/TOOLS/benchmark-gab/variables index 4c94826632..412b742279 100755 --- a/TOOLS/benchmark-gab/variables +++ b/TOOLS/benchmark-gab/variables @@ -3,10 +3,12 @@ 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-`" +CPUFLAGS="`cat /proc/cpuinfo | grep flags | cut -c 10-`" MHZ="`cat /proc/cpuinfo | grep MHz | cut -c 12-14` MHz" MEMORY="`cat /proc/meminfo | grep MemTotal | awk '{print $2}'` Kb" -BUILD="`echo $VENDOR $MODEL $MHZ | tr [\ ] [_]`" +BUILD="`echo $VENDOR $MODEL $MHZ | tr [\ ] [_] | tr [\/] [_]`" VGA="`lspci | grep VGA | cut -c 36-`" +MPBIN="$BUILD/mplayer" export LOGFILE="`pwd`/log-$BUILD-`date +\"%Y-%m-%d\"`" export COMPILEOPTIONS="--enable-runtime-cpudetection" -- cgit v1.2.3