shithub: mp3dec

ref: 1518f298b35feecf2f6e5c0aae83e4eab64b3e72
dir: /scripts/perf.sh/

View raw version
_FILENAME=${0##*/}
CUR_DIR=${0/${_FILENAME}}
CUR_DIR=$(cd $(dirname ${CUR_DIR}); pwd)/$(basename ${CUR_DIR})/

pushd $CUR_DIR/..

APP=./minimp3

for i in vectors/*.bit; do
perf stat -e cycles $APP $i ${i%.*}.pcm
done