* Output the runtimes when performing a CVC regression test.
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@624
e59a4935-1847-0410-ae03-
e826735625c1
"proofs" => 0,
"lang" => "all",
"stppath" => "stp/bin",
- "vc" => $pwd . "/bin/stp -d", # Program names
+ "vc" => $pwd . "/bin/stp -d -t", # Program names
#"vc" => "valgrind --leak-check=full /home/vganesh/stp/bin/stp", # Program names
"pfc" => "true",
"stptestpath" => "stp/test",
# Runtime limit; 0 = no limit
"time" => 180,
# Additional command line options to stp
- "stpOptions" => "-d");
+ "stpOptions" => "-d -t");
# Database of command line options. Initially, they are undefined
my %options = ();
std::map<Category, long>::const_iterator it2 = times.begin();
while (it1 != counts.end())
- {
- result << " " << CategoryNames[it1->first] << ": " << it1->second;
- if ((it2 = times.find(it1->first)) != times.end())
- result << " [" << it2->second << "ms]";
- result << std::endl;
- it1++;
- }
+ {
+ int time_ms = 0;
+ if ((it2 = times.find(it1->first)) != times.end())
+ time_ms = it2->second;
+
+ if (time_ms!=0)
+ {
+ result << " " << CategoryNames[it1->first] << ": " << it1->second;
+ result << " [" << time_ms << "ms]";
+ result << std::endl;
+ }
+ it1++;
+ }
+
std::cerr << result.str();
// iterator