summaryrefslogtreecommitdiffstats
path: root/TOOLS/benchmark-gab/variables
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/benchmark-gab/variables')
-rwxr-xr-xTOOLS/benchmark-gab/variables4
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"