MSG_create_environment(argv[1]);
MSG_function_register("host", host);
- storage_info(MSG_host_by_name(xbt_strdup("host")));
for(int i = 0 ; i<10; i++){
MSG_process_create(xbt_strdup("host"), host, NULL, MSG_host_by_name(xbt_strdup("host")));
}
int res = MSG_main();
- storage_info(MSG_host_by_name(xbt_strdup("host")));
XBT_INFO("Simulation time %g", MSG_get_clock());
return res != MSG_OK;