Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use signals and callbacks to trace actors
[simgrid.git] / src / msg / msg_environment.cpp
1 /* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved.          */
2
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. */
5
6 #include "simgrid/msg.h"
7
8 #if SIMGRID_HAVE_LUA
9 #include <lua.h>
10 #include <lauxlib.h>
11 #include <lualib.h>
12 #endif
13
14 /********************************* MSG **************************************/
15
16 /** \ingroup msg_simulation
17  * \brief A platform constructor.
18  *
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 :
21  *
22  *     \include simgrid.dtd
23  *
24  * Here is a small example of such a platform
25  *
26  *     \include small_platform.xml
27  *
28  * Have a look in the directory examples/msg/ to have a big example.
29  */
30 void MSG_create_environment(const char *file)
31 {
32   SIMIX_create_environment(file);
33 }