X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4ce3fe4a9e76bb35438bd25d0f4f24bd05255840..dfd4577a334ccffefde41992148e11edf2b34a25:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 2115a8090d..4b4b3255e6 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -353,22 +353,6 @@ void SIMIX_execution_cancel(smx_synchro_t synchro) exec->surf_exec->cancel(); } -double SIMIX_execution_get_remains(smx_synchro_t synchro) -{ - double result = 0.0; - simgrid::simix::Exec *exec = static_cast(synchro); - - if (synchro->state == SIMIX_RUNNING) - result = exec->surf_exec->getRemains(); - - return result; -} - -e_smx_state_t SIMIX_execution_get_state(smx_synchro_t synchro) -{ - return synchro->state; -} - void SIMIX_execution_set_priority(smx_synchro_t synchro, double priority) { simgrid::simix::Exec *exec = static_cast(synchro);