import org.simgrid.msg.Msg;
import org.simgrid.msg.MsgException;
+import org.simgrid.msg.RngStream;
class Main{
private Main() {
}
public static void main(String[] args) throws MsgException {
+ int[] seed = { 12345, 12345, 12345, 12345, 12345, 12345 };
+ RngStream.setPackageSeed(seed);
+
Msg.init(args);
if(args.length < 2) {
Msg.info("Usage : Bittorrent platform_file deployment_file");
- Msg.info("example : Bittorrent ../platforms/platform.xml bittorrent.xml");
+ Msg.info("example : Bittorrent ../platforms/cluster.xml bittorrent.xml");
System.exit(1);
}
Msg.deployApplication(args[1]);
/* execute the simulation. */
- Msg.run();
+ Msg.run();
}
}