X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4bc38666dcc85607c44e44d0a9226aba83e39a07..5a3c64d7f437f3e64f52752b8ab2a40d04705bca:/src/gras/Msg/msg.c diff --git a/src/gras/Msg/msg.c b/src/gras/Msg/msg.c index e8f1773e71..ec047a4eee 100644 --- a/src/gras/Msg/msg.c +++ b/src/gras/Msg/msg.c @@ -365,7 +365,7 @@ static int gras_msg_wait_or_filter(gras_msg_t msg, void *ctx) { xbt_dynar_t dyn=(xbt_dynar_t)ctx; int res = xbt_dynar_member(dyn,msg->type); if (res) - VERB0("Got matching message"); + VERB1("Got matching message (type=%s)",msg->type->name); else VERB0("Got message not matching our expectations"); return res; @@ -392,7 +392,7 @@ void gras_msg_wait_or(double timeout, void *payload) { s_gras_msg_t msg; - INFO1("Wait %f seconds for several message types",timeout); + VERB1("Wait %f seconds for several message types",timeout); gras_msg_wait_ext(timeout, NULL, NULL, &gras_msg_wait_or_filter, (void*)msgt_want, @@ -590,8 +590,8 @@ gras_msg_handle(double timeOut) { TRY { xbt_dynar_foreach(list->cbs,cpt,cb) { if (!ran_ok) { - VERB3("Use the callback #%d (@%p) for incomming msg %s", - cpt+1,cb,msg.type->name); + DEBUG4("Use the callback #%d (@%p) for incomming msg %s (payload_size=%d)", + cpt+1,cb,msg.type->name,msg.payl_size); if ((*cb)(&ctx,msg.payl)) { /* cb handled the message */ free(msg.payl);