Mercurial > pygar
view config/bm/Pygar/sort_test/sort-test.cfx @ 40:7ac38b0f93fa pygar svn.41
[svn r41] made perl build script automatically generate program.vmh
author | rlm |
---|---|
date | Tue, 04 May 2010 19:53:09 -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 benchmarks7 ## Remember to set this file as executable9 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 edit42 );43 }45 $gcfg->action(@ARGV);