X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c4e7c13743a9d1e8dfa5dc27d4b2fa3aaf1557ab..a36cada5a2972f79e94880ecce4e42b7af44ec56:/main.cpp diff --git a/main.cpp b/main.cpp index 3ba517c..490b52e 100644 --- a/main.cpp +++ b/main.cpp @@ -12,8 +12,9 @@ #include "version.h" // Creates log categories -XBT_LOG_NEW_CATEGORY(simu, "Simulation messages"); +XBT_LOG_NEW_CATEGORY(simu, "Root of simulation messages"); XBT_LOG_NEW_SUBCATEGORY(main, simu, "Messages from global infrastructure"); +XBT_LOG_NEW_SUBCATEGORY(depl, main, "Messages from auto deployment"); XBT_LOG_NEW_SUBCATEGORY(comm, simu, "Messages from asynchronous pipes"); XBT_LOG_NEW_SUBCATEGORY(proc, simu, "Messages from base process class"); XBT_LOG_NEW_SUBCATEGORY(loba, simu, "Messages from load-balancer"); @@ -95,7 +96,7 @@ int main(int argc, char* argv[]) if (!opt::auto_depl::nhosts) opt::auto_depl::nhosts = hostdata::size(); if (!opt::auto_depl::load) - opt::auto_depl::load = hostdata::size(); + opt::auto_depl::load = opt::auto_depl::nhosts; MY_launch_application(); // it is already opt::* aware... } else { MSG_launch_application(opt::deployment_file.c_str());