]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Executor.cxx
Salome HOME
Work in progress : workload manager step 2
[modules/yacs.git] / src / engine / Executor.cxx
index 1a3bb64dda70e5d8b2ea740d422ee2c8de924b8a..453eed195b4f2b324b5fc5c27b3f42c30f9915c9 100644 (file)
@@ -1682,6 +1682,8 @@ void loadResources(WorkloadManager::WorkloadManager& wm)
     id++;
     newResource.nbCores = res.second;
     wm.addResource(newResource);
+    std::cerr << "Add resource " << newResource.name << " with "
+              << newResource.nbCores << " cores." << std::endl;
   }
 }
 
@@ -1788,7 +1790,7 @@ void Executor::newRun(Scheduler *graph,int debug, bool fromScratch)
   WorkloadManager::WorkloadManager wlm(algo);
   loadResources(wlm);
   wlm.start();
-  
+
   while (_toContinue)
     {
       DEBTRACE("--- executor main loop");