Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added files to execute ping_pong example with a smallest possible
authorvelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 13 Jul 2007 08:33:25 +0000 (08:33 +0000)
committervelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 13 Jul 2007 08:33:25 +0000 (08:33 +0000)
platform.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3754 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/deployment_sendrecv.xml [new file with mode: 0644]
examples/msg/platform_sendrecv.xml [new file with mode: 0644]

diff --git a/examples/msg/deployment_sendrecv.xml b/examples/msg/deployment_sendrecv.xml
new file mode 100644 (file)
index 0000000..a9c097b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<!-- For using with ping_pong, platform_sendrecv.xml -->
+<platform_description version="1">
+  <process host="Inmos" function="sender">
+       <argument value="Bellevue"/>
+  </process>
+  <process host="Bellevue" function="receiver"/>
+</platform_description>
diff --git a/examples/msg/platform_sendrecv.xml b/examples/msg/platform_sendrecv.xml
new file mode 100644 (file)
index 0000000..f3fba0c
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description version="1">
+  <!-- For using with ping_pong example, very simple platform -->
+  <cpu name="Inmos" power="98095000"/>
+  <cpu name="Bellevue" power="76296000"/>
+  <network_link name="link" bandwidth="7209750" latency="0.001461517"/>
+  <network_link name="loopback" bandwidth="498000000" latency="0.000015"/>
+  <route src="Inmos" dst="Inmos"><route_element name="loopback"/></route>
+  <route src="Bellevue" dst="Bellevue"><route_element name="loopback"/></route>
+  <route src="Inmos" dst="Bellevue">
+    <route_element name="link"/>
+  </route>
+  <route src="Bellevue" dst="Inmos">
+    <route_element name="link"/>
+  </route>
+</platform_description>