// stop the simulation
xbt_free(node.fingers);
- XBT_INFO("Messages created: %lu", smx_total_comms);
return 0;
}
XBT_DEBUG("Set timeout to %d", timeout);
}
else {
- xbt_die(bprintf("Invalid chord option '%s'", options[0]));
+ xbt_die("Invalid chord option '%s'", options[0]);
}
}
options++;
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();