id++;
newResource.nbCores = res.second;
wm.addResource(newResource);
+ std::cerr << "Add resource " << newResource.name << " with "
+ << newResource.nbCores << " cores." << std::endl;
}
}
WorkloadManager::WorkloadManager wlm(algo);
loadResources(wlm);
wlm.start();
-
+
while (_toContinue)
{
DEBTRACE("--- executor main loop");