|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include "smx_private.h"#include <xbt/ex.hpp>#include "xbt/sysdep.h"#include "xbt/log.h"#include "xbt/xbt_os_time.h"#include "xbt/config.h"Functions | |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (simix_environment, simix, "Logging specific to SIMIX (environment)") | |
| void | SIMIX_create_environment (const char *file) |
| A platform constructor. More... | |
| void | SIMIX_post_create_environment () |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | simix_environment | , |
| simix | , | ||
| "Logging specific to SIMIX (environment)" | |||
| ) |
| void SIMIX_create_environment | ( | const char * | file | ) |
A platform constructor.
Creates a new platform, including hosts, links and the routing_table.
| file | a filename of a xml description of a platform. This file follows this DTD : \include surfxml.dtd |
Here is a small example of such a platform
\include small_platform.xml
| void SIMIX_post_create_environment | ( | ) |