Mercurial > pygar
comparison config/bm/Pygar/fpga.cfx @ 70:bbd58fb592c9 pygar svn.71
[svn r71] better benchmarks
author | rlm |
---|---|
date | Wed, 12 May 2010 00:14:01 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
69:5c963ab14143 | 70:bbd58fb592c9 |
---|---|
1 : # -*-Perl-*- | |
2 eval 'exec perl -w "$0" ${1+"$@"}' | |
3 if 0; | |
4 | |
5 ## | |
6 ## Directory of hasim benchmarks | |
7 ## Remember to set this file as executable | |
8 | |
9 use Asim; | |
10 use strict; | |
11 | |
12 my $gcfg = Asim::GenCFG->new(); | |
13 | |
14 my @tests = ( | |
15 "thru"); | |
16 | |
17 | |
18 | |
19 my @bmarks = ("null", | |
20 ); | |
21 | |
22 foreach my $bmark (@bmarks) { | |
23 $gcfg->add(name => $bmark, | |
24 tree => [ "benchmarks" ], | |
25 setup => "tools/scripts/setup-bmark $bmark --contexts=0", | |
26 feeder => "none", | |
27 ccount => 800000, | |
28 ); | |
29 } | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 foreach my $test (@tests) { | |
37 $gcfg->add(name => $test, | |
38 tree => [ "tests" ], | |
39 setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", | |
40 feeder => "vcs", | |
41 feedflags => "program.0/${test}.smips.vmh", | |
42 ccount => 800000, | |
43 ); | |
44 } | |
45 | |
46 | |
47 $gcfg->action(@ARGV); |