INCLUDES= -I$(top_srcdir)/include
AM_CFLAGS=-g
-EXTRA_DIST= msg_deployment.xml msg_platform.xml
+EXTRA_DIST= msg_deployment.xml msg_platform.xml small_platform.xml small_deployment.xml
check_PROGRAMS=msg_test
--- /dev/null
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description>
+ <!-- The master process (with some arguments) -->
+ <process host="Tremblay" function="master">
+ <argument value="20"/> <!-- Number of tasks -->
+ <argument value="50000"/> <!-- Computation size of tasks -->
+ <argument value="10"/> <!-- Communication size of tasks -->
+ <argument value="Jupiter"/> <!-- First slave -->
+ <argument value="Fafard"/> <!-- Second slave -->
+ <argument value="Ginette"/> <!-- Third slave -->
+ <argument value="Bourassa"/> <!-- Last slave -->
+ </process>
+ <!-- The slave process (with no argument) -->
+ <process host="Jupiter" function="slave"/>
+ <process host="Fafard" function="slave"/>
+ <process host="Ginette" function="slave"/>
+ <process host="Bourassa" function="slave"/>
+</platform_description>
<?xml version='1.0'?>
<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
<platform_description>
+ <!-- ljlkj -->
<cpu name="Tremblay" power="98.094999999999999"/>
<cpu name="Jupiter" power="76.296000000000006"/>
<cpu name="Fafard" power="76.296000000000006"/>
* \brief An application deployer.
*
* Creates the process described in \a file.
- * @param file a file containing an XML description of the application.
+ * \param file a filename of a xml description of the application. This file
+ * follows this DTD :
+ *
+ * \include surfxml.dtd
+ *
+ * Here is a small example of such a platform
+ *
+ * \include small_deployment.xml
+ *
+ * Have a look in the directory examples/msg/ to have a bigger example.
*/
void MSG_launch_application(const char *file)
{