Mercurial > mplayer.hg
annotate TOOLS/benchmark-gab/variables @ 19619:a83e5b8d2e63
Patch from Karolina Lindqvist <karolina.lindqvist@kramnet.se>
"There is a bug in the zoran -vo zr driver, that makes the output garbled
always. It also probably affects the zrmjpeg filter. This patch takes care of
the problem."
Patch tested and OK. And 10l to me, because this bug probably has existed for a
looong time.
author | rik |
---|---|
date | Fri, 01 Sep 2006 18:49:40 +0000 |
parents | c36333ff54b0 |
children |
rev | line source |
---|---|
7177
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
1 #!/bin/sh |
7184 | 2 export PATH=$PATH:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin |
7177
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
3 |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
4 VENDOR="`cat /proc/cpuinfo | grep vendor_id | cut -c 13-`" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
5 MODEL="`cat /proc/cpuinfo | grep "model name" | cut -c 14-`" |
7197 | 6 CPUFLAGS="`cat /proc/cpuinfo | grep flags | cut -c 10-`" |
7177
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
7 MHZ="`cat /proc/cpuinfo | grep MHz | cut -c 12-14` MHz" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
8 MEMORY="`cat /proc/meminfo | grep MemTotal | awk '{print $2}'` Kb" |
7197 | 9 BUILD="`echo $VENDOR $MODEL $MHZ | tr [\ ] [_] | tr [\/] [_]`" |
7177
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
10 VGA="`lspci | grep VGA | cut -c 36-`" |
7197 | 11 MPBIN="$BUILD/mplayer" |
7177
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
12 |
7184 | 13 export LOGFILE="`pwd`/log-$BUILD-`date +\"%Y-%m-%d\"`" |
7177
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
14 export COMPILEOPTIONS="--enable-runtime-cpudetection" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
15 |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
16 function wrtlog { |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
17 echo "[ `date +\"%Y-%m-%d %T\"` ] $*" >> "$LOGFILE" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
18 } |