mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2024-12-11 23:30:07 +08:00
Merge pull request #22 from meteorfox/fix-16-cpus-limitation
make maxCopies unbounded for 'system' and 'misc' suites
This commit is contained in:
commit
9665b29c99
@ -106,10 +106,10 @@ my $TESTDIR = getDir('UB_TESTDIR', $BASEDIR . "/testdir");
|
|||||||
|
|
||||||
# Configure the categories to which tests can belong.
|
# Configure the categories to which tests can belong.
|
||||||
my $testCats = {
|
my $testCats = {
|
||||||
'system' => { 'name' => "System Benchmarks", 'maxCopies' => 16 },
|
'system' => { 'name' => "System Benchmarks", 'maxCopies' => 0 },
|
||||||
'2d' => { 'name' => "2D Graphics Benchmarks", 'maxCopies' => 1 },
|
'2d' => { 'name' => "2D Graphics Benchmarks", 'maxCopies' => 1 },
|
||||||
'3d' => { 'name' => "3D Graphics Benchmarks", 'maxCopies' => 1 },
|
'3d' => { 'name' => "3D Graphics Benchmarks", 'maxCopies' => 1 },
|
||||||
'misc' => { 'name' => "Non-Index Benchmarks", 'maxCopies' => 16 },
|
'misc' => { 'name' => "Non-Index Benchmarks", 'maxCopies' => 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -1347,7 +1347,7 @@ sub runTests {
|
|||||||
# If the benchmark doesn't want to run with this many copies, skip it.
|
# If the benchmark doesn't want to run with this many copies, skip it.
|
||||||
my $cat = $params->{'cat'};
|
my $cat = $params->{'cat'};
|
||||||
my $maxCopies = $testCats->{$cat}{'maxCopies'};
|
my $maxCopies = $testCats->{$cat}{'maxCopies'};
|
||||||
next if ($copies > $maxCopies);
|
next if ($maxCopies > 0 && $copies > $maxCopies);
|
||||||
|
|
||||||
# Run the benchmark.
|
# Run the benchmark.
|
||||||
my $bresult = runBenchmark($bench, $params, $verbose, $logFile, $copies);
|
my $bresult = runBenchmark($bench, $params, $verbose, $logFile, $copies);
|
||||||
|
Loading…
Reference in New Issue
Block a user