import org.simgrid.msg.NativeException;
public class Masterslave {
-
+ public static final int TASK_COMP_SIZE = 10000000;
+ public static final int TASK_COMM_SIZE = 10000000;
/* This only contains the launcher. If you do nothing more than than you can run
* java simgrid.msg.Msg
* which also contains such a launcher
*/
package org.simgrid.msg;
+import org.simgrid.msg.Host;
import org.simgrid.msg.Process;
public class VM {
* @bug it is expected that in the future, the coreAmount parameter will be used
* to add extra constraints on the execution, but the argument is ignored for now.
*/
- public VM(int coreAmount) {
+ public VM(Host host, int coreAmount) {
this.coreAmount = coreAmount;
}
/**
* Natively implemented method starting the VM.
* @param coreAmount
*/
- private native void start(int coreAmount);
+ private native void start(Host host, int coreAmount);
/**
* @brief Returns a new array containing all existing VMs.