Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add unit support in xml files [#14422]
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1switch.xml
index b499f5c..4e1dccd 100644 (file)
@@ -2,12 +2,12 @@
  <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
  <platform version="3">
  <AS  id="AS0"  routing="Full">
-   <host id="cpu0" power="1"/>
-   <host id="cpu1" power="1"/>
+   <host id="cpu0" power="1f"/>
+   <host id="cpu1" power="1f"/>
 
-   <link id="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
-   <link id="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
-   <link id="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
+   <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
+   <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+   <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
 
    <route src="cpu0" dst="cpu1">
      <link_ctn id="link0"/>