view config/bm/Pygar/sort_test/sort-test.cfx @ 71:86360c5ae9f2 pygar svn.72

[svn r72] added config for htg
author punk
date Wed, 12 May 2010 00:21:40 -0400
parents 90197e3375e2
children
line wrap: on
line source
1 : # -*-Perl-*-
2 eval 'exec perl -w "$0" ${1+"$@"}'
3 if 0;
5 ##
6 ## Directory of hasim benchmarks
7 ## Remember to set this file as executable
9 use Asim;
10 use strict;
12 my $gcfg = Asim::GenCFG->new();
14 my @bmark_tests = ( "2"
15 ,"4"
16 ,"8"
17 ,"16"
18 ,"32"
19 ,"64"
20 ,"128"
21 ,"256"
22 ,"512"
23 ,"1024"
24 ,"2048"
25 ,"4096"
26 ,"8192"
27 ,"16384"
28 ,"32768"
29 ,"65536"
30 ,"131072"
31 ,"262144"
32 ,"524288"
33 ,"1048576");
36 foreach my $bmark (@bmark_tests) {
37 $gcfg->add(name => $bmark,
38 tree => [ "benchmarks" ],
39 setup => "scripts/setup-null-bmark --silent=1 --compare=1 --data=../benchmarks/sort_array/$bmark $bmark",
40 feeder => "none",
41 ccount => 800000, #Hmmm.... may need to edit
42 );
43 }
45 $gcfg->action(@ARGV);