Mercurial > pygar
comparison 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 |
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 @networks = ( | |
15 "net0", | |
16 "net1" | |
17 ); | |
18 | |
19 my @music = ( | |
20 "train", | |
21 "blah" | |
22 ); | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 foreach my $net (@networks) { | |
32 foreach my $mus (@music){ | |
33 | |
34 $gcfg->add(name => "$net-$mus", | |
35 tree => [ "tests-sim" ], | |
36 setup => "pygar-benchmarks/setup/sim-benchmark-setup.pl --network=$net --music=$mus", | |
37 feeder => "", | |
38 feedflags => "", | |
39 ccount => 800000, | |
40 ); | |
41 }} | |
42 | |
43 | |
44 $gcfg->action(@ARGV); |