Mercurial > pygar
annotate config/bm/Pygar/audio_processor_test/null_benchmark.cfx @ 40:7ac38b0f93fa pygar svn.41
[svn r41] made perl build script automatically generate program.vmh
author | rlm |
---|---|
date | Tue, 04 May 2010 19:53:09 -0400 |
parents | 90197e3375e2 |
children |
rev | line source |
---|---|
rlm@23 | 1 : # -*-Perl-*- |
rlm@23 | 2 eval 'exec perl -w "$0" ${1+"$@"}' |
rlm@23 | 3 if 0; |
rlm@23 | 4 |
rlm@23 | 5 ## |
rlm@23 | 6 ## Directory of hasim benchmarks |
rlm@23 | 7 ## Remember to set this file as executable |
rlm@23 | 8 |
rlm@23 | 9 use Asim; |
rlm@23 | 10 use strict; |
rlm@23 | 11 |
rlm@23 | 12 my $gcfg = Asim::GenCFG->new(); |
rlm@23 | 13 |
rlm@23 | 14 my @bmark_tests = ("null.wav", "reuben_james_1sec.wav"); |
rlm@23 | 15 |
rlm@23 | 16 foreach my $bmark (@bmark_tests) { |
rlm@23 | 17 $gcfg->add(name => $bmark, |
rlm@23 | 18 tree => [ "benchmarks" ], |
rlm@23 | 19 setup => "scripts/setup-mit-6.375-bmark --silent=1 --compare=1 --data=../benchmarks/audio_processor_test/$bmark $bmark --linkto=../tools/audio_processor_test/null/checker", |
rlm@23 | 20 feeder => "none", |
rlm@23 | 21 ccount => 800000, #Hmmm.... may need to edit |
rlm@23 | 22 ); |
rlm@23 | 23 } |
rlm@23 | 24 |
rlm@23 | 25 $gcfg->action(@ARGV); |