1 /* Copyright (c) 2004-2017. 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"
16 /********************************* MSG **************************************/
18 /** \ingroup msg_simulation
19 * \brief A platform constructor.
21 * Creates a new platform, including hosts, links and the routing_table.
22 * \param file a filename of a xml description of a platform. This file follows this DTD :
24 * \include simgrid.dtd
26 * Here is a small example of such a platform
28 * \include small_platform.xml
30 * Have a look in the directory examples/msg/ to have a big example.
32 void MSG_create_environment(const char *file)
34 SIMIX_create_environment(file);