Mercurial > pygar
diff config/bm/Pygar/sim.cfx @ 70:bbd58fb592c9 pygar svn.71
[svn r71] better benchmarks
author | rlm |
---|---|
date | Wed, 12 May 2010 00:14:01 -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/sim.cfx Wed May 12 00:14:01 2010 -0400 1.3 @@ -0,0 +1,44 @@ 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 @networks = ( 1.18 + "net0", 1.19 + "net1" 1.20 + ); 1.21 + 1.22 +my @music = ( 1.23 + "train", 1.24 + "blah" 1.25 + ); 1.26 + 1.27 + 1.28 + 1.29 + 1.30 + 1.31 + 1.32 + 1.33 + 1.34 +foreach my $net (@networks) { 1.35 + foreach my $mus (@music){ 1.36 + 1.37 + $gcfg->add(name => "$net-$mus", 1.38 + tree => [ "tests-sim" ], 1.39 + setup => "pygar-benchmarks/setup/sim-benchmark-setup.pl --network=$net --music=$mus", 1.40 + feeder => "", 1.41 + feedflags => "", 1.42 + ccount => 800000, 1.43 + ); 1.44 + }} 1.45 + 1.46 + 1.47 +$gcfg->action(@ARGV);