Mercurial > mplayer.hg
annotate TOOLS/benchmark-gab/variables @ 7184:bcbbe5ee11fd
v0.91
small misc fixes
100l fix, for xv+xmga benchmarks, only VC was benchmarked, now total time
everywhere
author | gabucino |
---|---|
date | Sat, 31 Aug 2002 08:16:44 +0000 (2002-08-31) |
parents | cba37985dec5 |
children | c36333ff54b0 |
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-`" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
6 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
|
7 MEMORY="`cat /proc/meminfo | grep MemTotal | awk '{print $2}'` Kb" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
8 BUILD="`echo $VENDOR $MODEL $MHZ | tr [\ ] [_]`" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
9 VGA="`lspci | grep VGA | cut -c 36-`" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
10 |
7184 | 11 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
|
12 export COMPILEOPTIONS="--enable-runtime-cpudetection" |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
13 |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
14 function wrtlog { |
cba37985dec5
v0.9 of my compile+benchmark script, designed for my local boxes, shared on
gabucino
parents:
diff
changeset
|
15 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
|
16 } |