spot/bench/dtgbasat/rundbamin.pl
Alexandre Duret-Lutz 983feb5290 Add benchmark for our DTGBA SAT-minimization.
* bench/dtgbasat/: New directory.
* bench/Makefile.am: New file.
* configure.ac, README: Adjust.
2013-09-18 18:08:41 +02:00

17 lines
273 B
Perl
Executable file

#!/usr/bin/perl -w
use strict;
use Time::HiRes;
my $start = Time::HiRes::gettimeofday();
my $res = `@ARGV` || die;
my $end = Time::HiRes::gettimeofday();
if ($res =~ /States:\s*(\d+)\w*$/som)
{
printf("%d, %f\n", $1, $end - $start);
}
else
{
printf("-, -\n");
}