/*
* JNI interface to C code for MSG.
*
- * Copyright 2006,2007,2010,2011 The SimGrid Team.
+ * Copyright 2006-2012 The SimGrid Team.
* All right reserved.
*
* This program is free software; you can redistribute
*/
public final static native double getClock();
/**
- * Issue an "debug" logging message.
+ * Issue a debug logging message.
* @param s message to log.
*/
public final static native void debug(String s);
- /** Issue an information logging message
+ /**
+ * Issue an verbose logging message.
+ * @param s message to log.
+ */
+ public final static native void verb(String s);
+
+ /** Issue an information logging message
* @param s
*/
public final static native void info(String s);
+ /**
+ * Issue an warning logging message.
+ * @param s message to log.
+ */
+ public final static native void warn(String s);
+ /**
+ * Issue an error logging message.
+ * @param s message to log.
+ */
+ public final static native void error(String s);
+ /**
+ * Issue an critical logging message.
+ * @param s message to log.
+ */
+ public final static native void critical(String s);
/*********************************************************************************
* Deployment and initialization related functions *
*/
public final static native void run() ;
- /**
- * Cleanup the MSG simulation.
- *
- * This function is only useful if you want to chain the simulations within
- * the same environment. But actually, it's not sure at all that cleaning the
- * JVM is faster than restarting a new one, so it's probable that using this
- * function is not a brilliant idea. Do so at own risk.
- *
- * @see MSG_clean
- */
- public final static native void clean();
-
+ /** This function is useless nowadays, just stop calling it. */
+ @Deprecated
+ public final static void clean(){}
/**
* The native implemented method to create the environment of the simulation.