X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c69087d11c54eee924f6870373883d6aa9ff228..9532edf044eed31bcf6de22916c8824e18f373ad:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 42704314fb..be58fe500e 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -371,10 +371,7 @@ smx_synchro_t SIMIX_host_execute(const char *name, synchro->name = xbt_strdup(name); synchro->state = SIMIX_RUNNING; synchro->execution.host = host; - -#ifdef HAVE_TRACING synchro->category = NULL; -#endif /* set surf's action */ if (!MC_is_active() && !MC_record_replay_is_active()) { @@ -417,10 +414,7 @@ smx_synchro_t SIMIX_host_parallel_execute(const char *name, synchro->name = xbt_strdup(name); synchro->state = SIMIX_RUNNING; synchro->execution.host = NULL; /* FIXME: do we need the list of hosts? */ - -#ifdef HAVE_TRACING synchro->category = NULL; -#endif /* set surf's synchro */ workstation_list = xbt_new0(void *, host_nb); @@ -610,7 +604,6 @@ void SIMIX_post_host_execute(smx_synchro_t synchro) } -#ifdef HAVE_TRACING void SIMIX_set_category(smx_synchro_t synchro, const char *category) { if (synchro->state != SIMIX_RUNNING) return; @@ -620,7 +613,6 @@ void SIMIX_set_category(smx_synchro_t synchro, const char *category) surf_action_set_category(synchro->comm.surf_comm, category); } } -#endif /** * \brief Function to get the parameters of the given the SIMIX host.