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/interruptinterface.cc
[mareframe] / trunk / gadget / interruptinterface.cc Repository:
ViewVC logotype

Diff of /trunk/gadget/interruptinterface.cc

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

revision 15, Tue Sep 1 19:14:33 2015 UTC revision 16, Tue Oct 13 11:29:01 2015 UTC
# Line 5  Line 5 
5    
6  extern Ecosystem* EcoSystem;  extern Ecosystem* EcoSystem;
7    
8  #ifndef NO_OPENMP  #ifdef _OPENMP
9  extern Ecosystem** EcoSystems;  extern Ecosystem** EcoSystems;
10  #endif  #endif
11    
# Line 13  Line 13 
13    if (EcoSystem->getFuncEval() != 0)    if (EcoSystem->getFuncEval() != 0)
14    {    {
15            int iters = EcoSystem->getFuncEval();            int iters = EcoSystem->getFuncEval();
16            #ifndef NO_OPENMP            #ifdef _OPENMP
17              int numThr = omp_get_max_threads ( );              int numThr = omp_get_max_threads ( );
18                for (int i = 0; i < numThr; i++)                for (int i = 0; i < numThr; i++)
19                    iters += EcoSystems[i]->getFuncEval();                    iters += EcoSystems[i]->getFuncEval();

Legend:
Removed from v.15  
changed lines
  Added in v.16

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

Powered By FusionForge