git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1257
e59a4935-1847-0410-ae03-
e826735625c1
void stop(Category c);
void print();
+ std::string getDifference()
+ {
+ std::stringstream s;
+ long val = getCurrentTime();
+ s << (val - lastTime) << "ms" ;
+ lastTime = val;
+ return s.str();
+ }
+
void difference()
{
- long val = getCurrentTime();
- std::cout << (val - lastTime) << "ms" << std::endl;
- lastTime = val;
+ std::cout << getDifference()<< std::endl << std::endl;
+
}
RunTimes()
StatInfoSet.clear();
//print node size:
- cout << endl << "Printing: " << c;
+
+ cout << "[" << GetRunTimes()->getDifference() << "]" << "Printing: " << c;
if (UserFlags.print_nodes_flag)
{
//a.PL_Print(cout,0);