X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38e728f7b3bcd80fc948d911a3eaa0ec2062ab69..7053d97d2d627c1f2bbd019953748b09af99c1e2:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 022a54f9ee..9f317fbaf5 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -25,7 +25,7 @@ const char* sg_host_self_get_name() } /** - * \brief Add a process to the list of the processes that the host will restart when it comes back + * @brief Add a process to the list of the processes that the host will restart when it comes back * This function add a process to the list of the processes that will be restarted when the host comes * back. It is expected that this function is called when the host is down. * The processes will only be restarted once, meaning that you will have to register the process @@ -61,7 +61,7 @@ void SIMIX_host_autorestart(sg_host_t host) } boost::intrusive_ptr -SIMIX_execution_start(const char* name, double flops_amount, double priority, double bound, sg_host_t host) +SIMIX_execution_start(std::string name, double flops_amount, double priority, double bound, sg_host_t host) { /* set surf's action */ simgrid::kernel::resource::Action* surf_action = nullptr; @@ -82,7 +82,7 @@ SIMIX_execution_start(const char* name, double flops_amount, double priority, do } boost::intrusive_ptr -SIMIX_execution_parallel_start(const char* name, int host_nb, sg_host_t* host_list, double* flops_amount, +SIMIX_execution_parallel_start(std::string name, int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount, double rate, double timeout) {