Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add MSG_task_set_data_size function binding
[simgrid.git] / org / simgrid / msg / Task.java
index 022961d..1b2e0cd 100644 (file)
@@ -152,6 +152,11 @@ public class Task {
         * @param computationAmount the amount of computation needed to process the task
         */
        public native void setComputeDuration(double computationAmount);
+       /**
+        * Set the data size of the task
+        * @param dataSize the size of the task
+        */
+       public native void setDataSize(double dataSize);
        /* *                     * *
         * * Computation-related * *
         * *                     * */