Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv14374
Modified Files:
Plan.cpp
Log Message:
store() method called after nextIteration();
Fixes PlanBatch iteration initialization.
Index: Plan.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan/Plan.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** Plan.cpp 31 Jul 2007 18:34:44 -0000 1.15
--- Plan.cpp 1 Aug 2007 19:47:53 -0000 1.16
***************
*** 20,23 ****
--- 20,24 ----
#include <UI/UI.h>
+ #include <libcompbenchmarks.h>
using namespace CBM;
***************
*** 174,177 ****
--- 175,187 ----
iteration++;
+ if (!simule) {
+ Verbosity b = UO_verbose;
+
+ UO_verbose=CBM::None;
+ store();
+ UO_verbose=b;
+ }
+
+
return(r);
}
***************
*** 257,260 ****
--- 267,271 ----
XMLReader r;
+ int bi;
***************
*** 314,317 ****
--- 325,333 ----
iteration=atoi(A->Value().c_str());
+ pb=batchForIteration(&bi);
+
+ if (pb)
+ pb->setIteration(bi);
+
cbmUI->outputOK();
return(1);
|