From: Julien Gossa Date: Mon, 29 Feb 2016 13:10:46 +0000 (+0100) Subject: Change the comment of Task.setBound to fit the native semantic X-Git-Tag: v3_13~623^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bdc60b4ee445660c40622f6f9c858d398ee0dae0?ds=sidebyside Change the comment of Task.setBound to fit the native semantic --- diff --git a/src/bindings/java/org/simgrid/msg/Task.java b/src/bindings/java/org/simgrid/msg/Task.java index 6410bbfcd9..ac034b6c0a 100644 --- a/src/bindings/java/org/simgrid/msg/Task.java +++ b/src/bindings/java/org/simgrid/msg/Task.java @@ -160,8 +160,8 @@ public class Task { */ public native void execute() throws HostFailureException,TaskCancelledException; - /** Bound a computation to a certain load */ - public native void setBound(double load); + /** Changes the maximum CPU utilization of a computation task. Unit is flops/s. */ + public native void setBound(double bound); /** Cancels a task. */ public native void cancel();