Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Diff of /trunk/gadget/keeper.cc
[mareframe] / trunk / gadget / keeper.cc Repository:
ViewVC logotype

Diff of /trunk/gadget/keeper.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18, Thu Jan 21 15:52:55 2016 UTC revision 19, Wed May 25 16:36:33 2016 UTC
# Line 291  Line 291 
291    //JMB - print the number of function evaluations at the start of the line    //JMB - print the number of function evaluations at the start of the line
292    int iters = EcoSystem->getFuncEval();    int iters = EcoSystem->getFuncEval();
293  #ifdef _OPENMP  #ifdef _OPENMP
294      if(EcoSystems != NULL) {
295    int numThr = omp_get_max_threads ( );    int numThr = omp_get_max_threads ( );
296      for (int i = 0; i < numThr; i++)      for (int i = 0; i < numThr; i++)
297            iters += EcoSystems[i]->getFuncEval();            iters += EcoSystems[i]->getFuncEval();
298      }
299  #endif  #endif
300    outfile << iters << TAB;    outfile << iters << TAB;
301    

Legend:
Removed from v.18  
changed lines
  Added in v.19

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge