X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/658ef123c6e343cc78f78b02992fceb039f598c1..10d24bfbe5d413bdb49bf12b9655fc73203cd4f0:/src/bindings/java/jmsg_task.h diff --git a/src/bindings/java/jmsg_task.h b/src/bindings/java/jmsg_task.h index c1c108edd5..b7c7036163 100644 --- a/src/bindings/java/jmsg_task.h +++ b/src/bindings/java/jmsg_task.h @@ -12,25 +12,6 @@ #include #include "simgrid/msg.h" -/** - * This function returns a global reference to the java task instance - * specified by the parameter jtask. - * - * @param jtask The original java task instance. - * @param env The environment of the current thread. - * - * @return The global reference to the original java task - * instance. - */ -/* jobject jtask_new_global_ref(jobject jtask, JNIEnv * env); */ - -/** - * This function delete a global reference to a java task instance. - * - * @param The global refernce to delete. - * @param env The environment of the current thread. - */ -/* void jtask_delete_global_ref(jobject jtask, JNIEnv * env); */ /** * This function associated a native task to a java task instance. @@ -156,19 +137,12 @@ JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Task_getSource (JNIEnv *, jobject); /* * Class org_simgrid_msg_Task - * Method getComputeDuration + * Method getFlopsAmount * Signature ()D */ -JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Task_getComputeDuration +JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Task_getFlopsAmount (JNIEnv *, jobject); -/* - * Class org_simgrid_msg_Task - * Method getRemainingDuration - * Signature ()D - */ -JNIEXPORT jdouble JNICALL -Java_org_simgrid_msg_Task_getRemainingDuration(JNIEnv *, jobject); /** * Class org_simgrid_msg_Task * Method setName