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", "reuben_james_quarter_sec.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/fir/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);
|