# HG changeset patch # User rlm # Date 1273637641 14400 # Node ID bbd58fb592c9e69f8d9304390a2589afb5962885 # Parent 5c963ab14143dbfc8ca5e132fcebaa2a1ee4a9c8 [svn r71] better benchmarks diff -r 5c963ab14143 -r bbd58fb592c9 config/bm/Pygar/fpga.cfx --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/bm/Pygar/fpga.cfx Wed May 12 00:14:01 2010 -0400 @@ -0,0 +1,47 @@ +: # -*-Perl-*- +eval 'exec perl -w "$0" ${1+"$@"}' + if 0; + +## +## Directory of hasim benchmarks +## Remember to set this file as executable + +use Asim; +use strict; + +my $gcfg = Asim::GenCFG->new(); + +my @tests = ( + "thru"); + + + +my @bmarks = ("null", + ); + +foreach my $bmark (@bmarks) { + $gcfg->add(name => $bmark, + tree => [ "benchmarks" ], + setup => "tools/scripts/setup-bmark $bmark --contexts=0", + feeder => "none", + ccount => 800000, + ); + } + + + + + + +foreach my $test (@tests) { + $gcfg->add(name => $test, + tree => [ "tests" ], + 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", + feeder => "vcs", + feedflags => "program.0/${test}.smips.vmh", + ccount => 800000, + ); +} + + +$gcfg->action(@ARGV); diff -r 5c963ab14143 -r bbd58fb592c9 config/bm/Pygar/sim.cfx --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/bm/Pygar/sim.cfx Wed May 12 00:14:01 2010 -0400 @@ -0,0 +1,44 @@ +: # -*-Perl-*- +eval 'exec perl -w "$0" ${1+"$@"}' + if 0; + +## +## Directory of hasim benchmarks +## Remember to set this file as executable + +use Asim; +use strict; + +my $gcfg = Asim::GenCFG->new(); + +my @networks = ( + "net0", + "net1" + ); + +my @music = ( + "train", + "blah" + ); + + + + + + + + +foreach my $net (@networks) { + foreach my $mus (@music){ + + $gcfg->add(name => "$net-$mus", + tree => [ "tests-sim" ], + setup => "pygar-benchmarks/setup/sim-benchmark-setup.pl --network=$net --music=$mus", + feeder => "", + feedflags => "", + ccount => 800000, + ); + }} + + +$gcfg->action(@ARGV);