org.simgrid.msg
public final class Msg extends java.lang.Object
Constructor and Description |
---|
Msg() |
Modifier and Type | Method and Description |
---|---|
static void |
clean()
Deprecated.
|
static void |
createEnvironment(java.lang.String platformFile)
The native implemented method to create the environment of the simulation.
|
static void |
critical(java.lang.String s)
Issue an critical logging message.
|
static void |
debug(java.lang.String s)
Issue a debug logging message.
|
static void |
deployApplication(java.lang.String deploymentFile)
The method to deploy the simulation.
|
static As |
environmentGetRoutingRoot() |
static void |
error(java.lang.String s)
Issue an error logging message.
|
static double |
getClock()
Retrieve the simulation time
|
static void |
info(java.lang.String s)
Issue an information logging message
|
static void |
init(java.lang.String[] args)
The natively implemented method to initialize a MSG simulation.
|
static void |
main(java.lang.String[] args)
Example launcher.
|
static void |
nativeInit() |
static void |
run()
Run the MSG simulation.
|
static void |
verb(java.lang.String s)
Issue an verbose logging message.
|
static void |
warn(java.lang.String s)
Issue an warning logging message.
|
public static void nativeInit()
public static final double getClock()
public static final void debug(java.lang.String s)
s
- message to log.public static final void verb(java.lang.String s)
s
- message to log.public static final void info(java.lang.String s)
s
- public static final void warn(java.lang.String s)
s
- message to log.public static final void error(java.lang.String s)
s
- message to log.public static final void critical(java.lang.String s)
s
- message to log.public static final void init(java.lang.String[] args)
args
- The arguments of the command line of the simulation.public static final void run()
clean()
if you really insist on cleaning the C side), so you can freely
retrieve the informations that you want from the simulation. In particular, retrieving the status
of a process or the current date is perfectly ok.@Deprecated public static final void clean()
public static final void createEnvironment(java.lang.String platformFile)
platformFile
- The XML file which contains the description of the environment of the simulationpublic static final As environmentGetRoutingRoot()
public static final void deployApplication(java.lang.String deploymentFile)
deploymentFile
- public static void main(java.lang.String[] args) throws MsgException
args
- MsgException