for (i = 0; i < 10; i++) {
//create and execute a task just to make the simulated time advance
- m_task_t task = MSG_task_create("task", 10000, 0, NULL);
+ msg_task_t task = MSG_task_create("task", 10000, 0, NULL);
MSG_task_execute (task);
MSG_task_destroy (task);
for (i = 0; i < 10; i++) {
//create and execute a task just to make the simulated time advance
- m_task_t task = MSG_task_create("task", 10000, 0, NULL);
+ msg_task_t task = MSG_task_create("task", 10000, 0, NULL);
MSG_task_execute (task);
MSG_task_destroy (task);
xbt_dynar_free (&link_variables);
}
- //create a customized triva graph configuration file
+ //create a customized viva graph configuration file
FILE *fp;
- fp = fopen ("triva_graph.plist", "w");
+ fp = fopen ("viva_graph.plist", "w");
if (!fp){
- MSG_clean();
return 1;
}
fprintf (fp, "{\n node = (");
fprintf (fp, "}\n");
fclose (fp);
- MSG_clean();
return 0;
}