X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6e9085979401423afcde6d001562b6ffd23021e8..a1ba88402bfb88a278d2e7c849441a9ed4a26120:/src/simix/host_private.h diff --git a/src/simix/host_private.h b/src/simix/host_private.h index 65a48b6918..84a315ca92 100644 --- a/src/simix/host_private.h +++ b/src/simix/host_private.h @@ -27,7 +27,7 @@ double SIMIX_host_get_speed(smx_host_t host); double SIMIX_host_get_available_speed(smx_host_t host); int SIMIX_host_get_state(smx_host_t host); smx_action_t SIMIX_host_execute(const char *name, - smx_host_t host, double computation_amount); + smx_host_t host, double computation_amount, double priority); smx_action_t SIMIX_host_parallel_execute(const char *name, int host_nb, smx_host_t *host_list, double *computation_amount, double *communication_amount, @@ -37,9 +37,6 @@ void SIMIX_host_execution_cancel(smx_action_t action); double SIMIX_host_execution_get_remains(smx_action_t action); e_smx_state_t SIMIX_host_execution_get_state(smx_action_t action); void SIMIX_host_execution_set_priority(smx_action_t action, double priority); -#ifdef HAVE_TRACING -void SIMIX_host_execution_set_category(smx_action_t action, const char *category); -#endif void SIMIX_pre_host_execution_wait(smx_req_t req); void SIMIX_host_execution_suspend(smx_action_t action); @@ -47,5 +44,9 @@ void SIMIX_host_execution_resume(smx_action_t action); void SIMIX_post_host_execute(smx_action_t action); +#ifdef HAVE_TRACING +void SIMIX_set_category(smx_action_t action, const char *category); +#endif + #endif