X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fb450820a89a2e124df2ec668ecb0ddc95733272..d96c801afcc9beac00274914682f4ce28f54ed7f:/examples/lua/splaySim/splay_deploy_masterslave.lua diff --git a/examples/lua/splaySim/splay_deploy_masterslave.lua b/examples/lua/splaySim/splay_deploy_masterslave.lua index 8aca194887..a40ef42249 100644 --- a/examples/lua/splaySim/splay_deploy_masterslave.lua +++ b/examples/lua/splaySim/splay_deploy_masterslave.lua @@ -2,13 +2,11 @@ dofile "master.lua" dofile "slave.lua" --Set Application - simgrid.Host.setFunction{host="Splayd_1",fct="Master",args="20,550000000,1000000,4"}; - simgrid.Host.setFunction{host="Splayd_5",fct="Slave",args="0"}; - simgrid.Host.setFunction{host="Splayd_2",fct="Slave",args="1"}; - simgrid.Host.setFunction{host="Splayd_3",fct="Slave",args="2"}; - simgrid.Host.setFunction{host="Splayd_4",fct="Slave",args="3"}; - - simgrid.info("Start Saving Platform..."); + simgrid.host.set_function{host="Splayd_1",fct="Master",args="20,550000000,1000000,4"}; + simgrid.host.set_function{host="Splayd_5",fct="Slave",args="0"}; + simgrid.host.set_function{host="Splayd_2",fct="Slave",args="1"}; + simgrid.host.set_function{host="Splayd_3",fct="Slave",args="2"}; + simgrid.host.set_function{host="Splayd_4",fct="Slave",args="3"}; + --Save Application simgrid.msg_register_application(); - simgrid.info("Platform Saved...");