Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix doxygen comments.
[simgrid.git] / examples / lua / splaySim / splay_deploy_masterslave.lua
1
2    dofile "master.lua"
3    dofile "slave.lua"
4    --Set Application
5    simgrid.host.set_function{host="Splayd_1",fct="Master",args="20,550000000,1000000,4"};
6    simgrid.host.set_function{host="Splayd_5",fct="Slave",args="0"};
7    simgrid.host.set_function{host="Splayd_2",fct="Slave",args="1"};
8    simgrid.host.set_function{host="Splayd_3",fct="Slave",args="2"};
9    simgrid.host.set_function{host="Splayd_4",fct="Slave",args="3"};
10
11   --Save Application 
12    simgrid.msg_register_application();