1 /* Copyright (c) 2006-2014, 2016. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 package process.suspend;
8 import org.simgrid.msg.Msg;
9 import org.simgrid.msg.MsgException;
13 throw new IllegalAccessError("Utility class");
16 public static void main(String[] args) {
19 Msg.info("Usage : Suspend platform_file");
20 Msg.info("example : Suspend ../platforms/platform.xml");
23 /* construct the platform and deploy the application */
24 Msg.createEnvironment(args[0]);
26 DreamMaster process1 = new DreamMaster("Jacquelin","DreamMaster");
28 } catch (MsgException e){
29 System.out.println("Create processes failed!");
32 /* execute the simulation. */