#include "xbt/dynar.h"
#include "xbt/dict.h"
#include "xbt/misc.h"
-//#include "gras_config.h"
+#include "gras_config.h"
SG_BEGIN_DECL()
* \param filename XML platform file name
*
* This function is called by surf_workstation_resource_init_CLM03
- * so you shouldn't call it by yourself.
+ * or by yourself only if you plan using surf_workstation_resource_init_compound
*
* \see surf_workstation_resource_init_CLM03()
*/
XBT_PUBLIC(void) surf_network_resource_init_CM02(const char *filename);
+#ifdef USE_GTNETS
+/** \brief Initializes the platform with the network model GTNETS
+ * \ingroup SURF_resources
+ * \param filename XML platform file name
+ *
+ * This function is called by surf_workstation_resource_init_GTNETS
+ * or by yourself only if you plan using surf_workstation_resource_init_compound
+ *
+ * \see surf_workstation_resource_init_GTNETS()
+ */
+XBT_PUBLIC(void) surf_network_resource_init_GTNETS(const char *filename);
+#endif
+
/** \brief Workstation resource extension public
* \ingroup SURF_resources
*
*/
XBT_PUBLIC_DATA(surf_workstation_resource_t) surf_workstation_resource;
+/** \brief Initializes the platform with a compound workstation model
+ * \ingroup SURF_resources
+ * \param filename XML platform file name
+ *
+ * This function should be called after a cpu_resource and a
+ * network_resource have been set up.
+ *
+ */
+XBT_PUBLIC(void) surf_workstation_resource_init_compound(const char *filename);
+
/** \brief Initializes the platform with the workstation model CLM03
* \ingroup SURF_resources
* \param filename XML platform file name
*
* \see surf_workstation_resource_init_CLM03()
*/
-XBT_PUBLIC(void) surf_workstation_resource_init_KCCFLN05_proportionnal(const char *filename);
+XBT_PUBLIC(void) surf_workstation_resource_init_KCCFLN05_proportional(const char *filename);
/** \brief Initializes the platform with the model KCCFLN05 using a lagrange
* optimization approach to compute the effectivet bandwidth of each flow based