X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4d338dfa2722b5fd85dbfe3c3f3f60a4934abd13..af28b79e5d8af428e4240cf922e3335030a6f6e5:/org/simgrid/msg/VM.java diff --git a/org/simgrid/msg/VM.java b/org/simgrid/msg/VM.java index c1a4de4830..137fa17249 100644 --- a/org/simgrid/msg/VM.java +++ b/org/simgrid/msg/VM.java @@ -10,6 +10,7 @@ */ package org.simgrid.msg; +import org.simgrid.msg.Host; import org.simgrid.msg.Process; public class VM { @@ -26,14 +27,14 @@ 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.