From: thiery Date: Tue, 15 Mar 2011 15:27:43 +0000 (+0000) Subject: Chord: update some messages displayed X-Git-Tag: v3.6_beta2~163 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e89f9f044e0a5071de93ec27bfca5993b9c86d1f Chord: update some messages displayed git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9797 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/msg/chord/chord.c b/examples/msg/chord/chord.c index 5b5a3b50f4..ee4a351772 100644 --- a/examples/msg/chord/chord.c +++ b/examples/msg/chord/chord.c @@ -394,7 +394,6 @@ int node(int argc, char *argv[]) // stop the simulation xbt_free(node.fingers); - XBT_INFO("Messages created: %lu", smx_total_comms); return 0; } @@ -937,7 +936,7 @@ int main(int argc, char *argv[]) xbt_os_timer_start(timer); MSG_error_t res = MSG_main(); xbt_os_timer_stop(timer); - XBT_CRITICAL("Simulation time %lf", xbt_os_timer_elapsed(timer)); + XBT_CRITICAL("Simulation time %lf, messages created: %ld", xbt_os_timer_elapsed(timer), smx_total_comms); XBT_INFO("Simulated time: %g", MSG_get_clock()); MSG_clean();