Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add comments for doc
authorcoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Jul 2010 08:55:40 +0000 (08:55 +0000)
committercoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Jul 2010 08:55:40 +0000 (08:55 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7987 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/lua/master_slave_bypass.lua

index ffca228..420c9f6 100644 (file)
@@ -39,6 +39,8 @@ end
   simgrid.info("Master: Everything's done.");
 end
 
+--end_of_master
+
 -- Slave Function ---------------------------------------------------------
 function Slave(...)
 
@@ -60,7 +62,11 @@ end -- while
 
 simgrid.info("Slave '" ..my_mailbox.."': I'm Done . See You !!");
 
-end -- function ----------------------------------------------------------
+end 
+
+-- end_of_slave
+
+-- Simulation Core ----------------------------------------------------------
 --]]
 
 require "simgrid"
@@ -74,7 +80,7 @@ require "simgrid"
 
     -- create Links
   for i=0,11 do
-    simgrid.Link.new(i,252750+ i*768,0.000270544+i*0.087);    -- let's create link !! with crazy values ;)
+    simgrid.Link.new(i,252750+ i*768,0.000270544+i*0.087);   
   end
 
 
@@ -127,4 +133,6 @@ require "simgrid"
 
    simgrid.run()
    simgrid.info("Simulation's over.See you.")
-   simgrid.clean()
\ No newline at end of file
+   simgrid.clean()
+
+