#include "misc.h"
#include "options.h"
#include "process.h"
+#include "simgrid_features.h"
#include "statistics.h"
#include "synchro.h"
#include "timer.h"
#define PR_VALUE(descr, format, ...) \
XBT_INFO("| %.*s: " format, DATA_DESCR_WIDTH, \
- descr ".................................................", \
+ descr " ................................................", \
__VA_ARGS__)
#define PR_STATS(descr, st) \
XBT_INFO("| %.*s: %g / %g / %g", DATA_DESCR_WIDTH, \
- descr " (sum/avg/dev)...................................", \
+ descr " (sum/avg/dev) ..................................", \
st.get_sum(), st.get_mean(), st.get_stddev())
int main(int argc, char* argv[])
double simulated_time = -1.0;
timestamp elapsed_time(timestamp::wallclock_time);
timestamp simulation_time(timestamp::cpu_time);
- MSG_error_t res;
+ msg_error_t res;
elapsed_time.start();
simulation_time.start();
}
// Initialize some MSG internal data.
- MSG_global_init(&argc, argv);
+ MSG_init(&argc, argv);
install_signal_handler();
// Parse global parameters