Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure the navbar tricks we use in the post-processor don't land in the short...
[simgrid.git] / src / msg / environment.c
index 4ed51ca99a19ed68c51cb1f7f03edc7d84f7047f..fbc75cedb026254185495eb5b073fe975c71762c 100644 (file)
@@ -8,7 +8,8 @@
 #include "private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(environment, msg,
+#include "gras_config.h"
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_environment, msg,
                                "Logging specific to MSG (environment)");
 
 /** \defgroup msg_easier_life      Platform and Application management
@@ -16,6 +17,10 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(environment, msg,
  *  and the application deployment. You should also have a look at 
  *  \ref MSG_examples  to have an overview of their usage.
  */
+/** @addtogroup msg_easier_life
+ *    \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Platforms and Applications" --> \endhtmlonly
+ * 
+ */
 
 /********************************* MSG **************************************/
 
@@ -71,8 +76,14 @@ void MSG_create_environment(const char *file) {
   DEBUG1("Model : %s", workstation_model_name);
   if (!strcmp(workstation_model_name,"KCCFLN05")) {
     surf_workstation_resource_init_KCCFLN05(file);
+  }else if (!strcmp(workstation_model_name,"KCCFLN05_proportional")) {
+    surf_workstation_resource_init_KCCFLN05_proportionnal(file);
   } else if (!strcmp(workstation_model_name,"CLM03")) {
     surf_workstation_resource_init_CLM03(file);
+#ifdef USE_GTNETS
+  } else if (!strcmp(workstation_model_name,"GTNETS")) {
+    surf_workstation_resource_init_GTNETS(file);
+#endif
   } else {
     xbt_assert0(0,"The impossible happened (once again)");
   }