diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-31 14:19:11 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-31 14:19:11 +0000 |
commit | e9105a9b644bd3b11adf962ed31711ea98ef0732 (patch) | |
tree | 0918ef0637465646707891b1edb76d71aa1fec4c /TOOLS/benchmark-gab/variables | |
parent | 42a6e2398effdd184d820ff3054c5ce113089aab (diff) |
some fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7198 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/benchmark-gab/variables')
-rwxr-xr-x | TOOLS/benchmark-gab/variables | 4 |
1 files changed, 3 insertions, 1 deletions
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" |