X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5410c0dedd6e07e55c0a74a0664d1f8a73d69c1e..0236bbc683363a58fdef428ce7de140909de5db1:/src/bindings/java/org/simgrid/surf/Cpu.java diff --git a/src/bindings/java/org/simgrid/surf/Cpu.java b/src/bindings/java/org/simgrid/surf/Cpu.java index d3745d3307..179c60f287 100644 --- a/src/bindings/java/org/simgrid/surf/Cpu.java +++ b/src/bindings/java/org/simgrid/surf/Cpu.java @@ -50,13 +50,13 @@ public class Cpu extends Resource { SurfJNI.Cpu_change_ownership(this, swigCPtr, true); } - public Cpu(Model model, String name, XbtDict props, LmmConstraint constraint, int core, double powerPeak, double powerScale) { - this(SurfJNI.new_Cpu__SWIG_0(Model.getCPtr(model), model, name, XbtDict.getCPtr(props), props, LmmConstraint.getCPtr(constraint), constraint, core, powerPeak, powerScale), true); + public Cpu(Model model, String name, LmmConstraint constraint, int core, double powerPeak, double powerScale) { + this(SurfJNI.new_Cpu__SWIG_0(Model.getCPtr(model), model, name, LmmConstraint.getCPtr(constraint), constraint, core, powerPeak, powerScale), true); SurfJNI.Cpu_director_connect(this, swigCPtr, swigCMemOwn, true); } - public Cpu(Model model, String name, XbtDict props, int core, double powerPeak, double powerScale) { - this(SurfJNI.new_Cpu__SWIG_1(Model.getCPtr(model), model, name, XbtDict.getCPtr(props), props, core, powerPeak, powerScale), true); + public Cpu(Model model, String name, int core, double powerPeak, double powerScale) { + this(SurfJNI.new_Cpu__SWIG_1(Model.getCPtr(model), model, name, core, powerPeak, powerScale), true); SurfJNI.Cpu_director_connect(this, swigCPtr, swigCMemOwn, true); }