Mercurial > pygar
diff config/bm/Pygar/audio_processor_test/null_benchmark.cfx @ 23:90197e3375e2 pygar svn.24
[svn r24] added testing, but something is wrong with our c++ file.
author | rlm |
---|---|
date | Wed, 28 Apr 2010 08:19:09 -0400 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/config/bm/Pygar/audio_processor_test/null_benchmark.cfx Wed Apr 28 08:19:09 2010 -0400 1.3 @@ -0,0 +1,25 @@ 1.4 +: # -*-Perl-*- 1.5 +eval 'exec perl -w "$0" ${1+"$@"}' 1.6 + if 0; 1.7 + 1.8 +## 1.9 +## Directory of hasim benchmarks 1.10 +## Remember to set this file as executable 1.11 + 1.12 +use Asim; 1.13 +use strict; 1.14 + 1.15 +my $gcfg = Asim::GenCFG->new(); 1.16 + 1.17 +my @bmark_tests = ("null.wav", "reuben_james_1sec.wav"); 1.18 + 1.19 +foreach my $bmark (@bmark_tests) { 1.20 + $gcfg->add(name => $bmark, 1.21 + tree => [ "benchmarks" ], 1.22 + 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", 1.23 + feeder => "none", 1.24 + ccount => 800000, #Hmmm.... may need to edit 1.25 + ); 1.26 +} 1.27 + 1.28 +$gcfg->action(@ARGV);