X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/68694b3ec9b57621efb384cfed57f2b3a35d6669..0cb036c32d50dfedd6e649ba3cd60ba063d40542:/src/mc/mc_request.c diff --git a/src/mc/mc_request.c b/src/mc/mc_request.c index ce77485c2f..5c7d573392 100644 --- a/src/mc/mc_request.c +++ b/src/mc/mc_request.c @@ -335,12 +335,6 @@ char *MC_request_to_string(smx_simcall_t req, int value) args = bprintf("locked = %d, owner = %d, sleeping = %d", mutex->locked, mutex->owner != NULL ? (int)mutex->owner->pid : -1, xbt_swag_size(mutex->sleeping)); break; - case SIMCALL_MUTEX_UNLOCK: - type = xbt_strdup("Mutex UNLOCK"); - mutex = simcall_mutex_unlock__get__mutex(req); - args = bprintf("locked = %d, owner = %lu, sleeping = %d", mutex->locked, mutex->owner->pid, xbt_swag_size(mutex->sleeping)); - break; - case SIMCALL_MC_SNAPSHOT: type = xbt_strdup("MC_SNAPSHOT"); args = NULL; @@ -433,7 +427,7 @@ char *MC_request_get_dot_output(smx_simcall_t req, int value) char *str = NULL, *label = NULL; smx_synchro_t act = NULL; - + switch (req->call) { case SIMCALL_COMM_ISEND: if (req->issuer->smx_host) @@ -530,6 +524,10 @@ char *MC_request_get_dot_output(smx_simcall_t req, int value) } break; + case SIMCALL_MUTEX_LOCK: + label = bprintf("[(%lu)] Mutex LOCK", req->issuer->pid); + break; + case SIMCALL_MC_RANDOM: if (req->issuer->smx_host) label =