X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/66e4277badef8f22852720b79a78e1f091c3b679..f8c51e91f402a7b7bbe72fb61af59ddaad7d5cf8:/src/simix/smx_host.cpp?ds=sidebyside diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index df906bb256..19d3516ab6 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -157,22 +157,3 @@ void SIMIX_execution_finish(smx_activity_t synchro) SIMIX_simcall_answer(simcall); } } - -void SIMIX_set_category(smx_activity_t synchro, std::string category) -{ - if (synchro->state_ != SIMIX_RUNNING) - return; - - simgrid::kernel::activity::ExecImplPtr exec = - boost::dynamic_pointer_cast(synchro); - if (exec != nullptr) { - exec->surf_action_->set_category(category); - return; - } - - simgrid::kernel::activity::CommImplPtr comm = - boost::dynamic_pointer_cast(synchro); - if (comm != nullptr) { - comm->surf_action_->set_category(category); - } -}