1 class org.simgrid.msg.Msg
2 =========================
4 .. java:package:: org.simgrid.msg
7 .. java:type:: public final class Msg
14 .. java:method:: public static final native void createEnvironment(String platformFile)
17 Create the simulation environment by parsing a platform file.
22 .. java:method:: public static final native void critical(String s)
25 Issue a critical logging message.
30 .. java:method:: public static final native void debug(String msg)
33 Issue a debug logging message.
38 .. java:method:: public static final native void deployApplication(String deploymentFile)
41 Starts your processes by parsing a deployment file.
46 .. java:method:: public static final native void energyInit()
49 Tell the kernel that you want to use the energy plugin
51 environmentGetRoutingRoot
52 ^^^^^^^^^^^^^^^^^^^^^^^^^
54 .. java:method:: public static final native As environmentGetRoutingRoot()
60 .. java:method:: public static final native void error(String msg)
63 Issue an error logging message.
68 .. java:method:: public static final native void fileSystemInit()
71 Tell the kernel that you want to use the filesystem plugin.
76 .. java:method:: public static final native double getClock()
79 Retrieves the simulation time
84 .. java:method:: public static final native void info(String msg)
87 Issue an information logging message
92 .. java:method:: public static final native void init(String[] args)
95 Initialize a MSG simulation.
97 :param args: The arguments of the command line of the simulation.
102 .. java:method:: public static final native void loadInit()
105 Initializes the HostLoad plugin. The HostLoad plugin provides an API to get the current load of each host.
110 .. java:method:: public static void main(String[] args)
113 Example launcher. You can use it or provide your own launcher, as you wish
120 .. java:method:: public static final native void run()
123 Run the MSG simulation. After the simulation, you can freely retrieve the information that you want.. In particular, retrieving the status of a process or the current date is perfectly ok.
128 .. java:method:: public static final native void verb(String msg)
131 Issue a verbose logging message.
136 .. java:method:: public static final native void warn(String msg)
139 Issue a warning logging message.