X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bc16e9be4b22e327ec560d9b035197bd484db4e5..54cb3695a30bf100bec2710d11af87d3b6ba1a44:/src/simix/smx_environment.cpp diff --git a/src/simix/smx_environment.cpp b/src/simix/smx_environment.cpp index 0eb0f4f09b..70150a9a72 100644 --- a/src/simix/smx_environment.cpp +++ b/src/simix/smx_environment.cpp @@ -6,25 +6,27 @@ #include "smx_private.hpp" #include "src/include/surf/surf.hpp" #include "xbt/xbt_os_time.h" -#include + +#include +#include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_environment, simix, "Logging specific to SIMIX (environment)"); /********************************* SIMIX **************************************/ /** - * \brief A platform constructor. + * @brief A platform constructor. * * Creates a new platform, including hosts, links and the * routing_table. - * \param file a filename of a xml description of a platform. This file + * @param file a filename of a xml description of a platform. This file * follows this DTD : * - * \include surfxml.dtd + * @include surfxml.dtd * * Here is a small example of such a platform * - * \include small_platform.xml + * @include small_platform.xml * */ void SIMIX_create_environment(std::string file) @@ -44,9 +46,9 @@ void SIMIX_create_environment(std::string file) XBT_DEBUG("PARSE TIME: %g", (end - start)); } -void SIMIX_create_environment(const char* file) +void SIMIX_create_environment(const char* file) // deprecated { - SIMIX_create_environment(std::string(file)); + simgrid_load_platform(file); } void SIMIX_post_create_environment()