1 /* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "simgrid/msg.h"
14 /********************************* MSG **************************************/
16 /** \ingroup msg_simulation
17 * \brief A platform constructor.
19 * Creates a new platform, including hosts, links and the routing_table.
20 * \param file a filename of a xml description of a platform. This file follows this DTD :
22 * \include simgrid.dtd
24 * Here is a small example of such a platform
26 * \include small_platform.xml
28 * Have a look in the directory examples/msg/ to have a big example.
30 void MSG_create_environment(const char *file)
32 SIMIX_create_environment(file);