X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/97b0ef0d9c81332efcddb73584173f47cf92ea95..084e8bbede5c1c275292a037a5b2fbfcb8c7d381:/examples/simdag/dot/dot_test2.c diff --git a/examples/simdag/dot/dot_test2.c b/examples/simdag/dot/dot_test2.c index b4f4fbd81a..b9baad1b94 100644 --- a/examples/simdag/dot/dot_test2.c +++ b/examples/simdag/dot/dot_test2.c @@ -27,7 +27,7 @@ int main(int argc, char **argv) /* Check our arguments */ if (argc < 2) { - INFO1("Usage: %s dot_file", argv[0]); + XBT_INFO("Usage: %s dot_file", argv[0]); exit(1); } @@ -35,17 +35,17 @@ int main(int argc, char **argv) dot = SD_dotload(argv[1]); /* Display all the tasks */ - INFO0 + XBT_INFO ("------------------- Display all tasks of the loaded DAG ---------------------------"); xbt_dynar_foreach(dot, cursor, task) { SD_task_dump(task); } - INFO0 + XBT_INFO ("--------------------- Transform the dynar into an array ---------------------------"); cursor=0; dot_as_array = (SD_task_t*) xbt_dynar_to_array(dot); - INFO0 + XBT_INFO ("----------------------------- dump tasks again ------------------------------------"); while ((task=dot_as_array[cursor++])){ SD_task_dump(task);