A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an example for file
[simgrid.git]
/
examples
/
msg
/
parallel_contexts
/
pcontexts.c
diff --git
a/examples/msg/parallel_contexts/pcontexts.c
b/examples/msg/parallel_contexts/pcontexts.c
index
39fef0c
..
4cfbad9
100644
(file)
--- a/
examples/msg/parallel_contexts/pcontexts.c
+++ b/
examples/msg/parallel_contexts/pcontexts.c
@@
-22,7
+22,7
@@
int node(int argc, char** argv)
for(j=0; j < WORK; j++);
MSG_task_execute(task);
for(j=0; j < WORK; j++);
MSG_task_execute(task);
-
INFO0
("Task successfully executed");
+
XBT_INFO
("Task successfully executed");
MSG_task_destroy(task);
}
MSG_task_destroy(task);
}
@@
-37,7
+37,6
@@
MSG_error_t test_all(const char *platform_file,
/* MSG_config("workstation/model","KCCFLN05"); */
{ /* Simulation setting */
/* MSG_config("workstation/model","KCCFLN05"); */
{ /* Simulation setting */
- MSG_set_channel_number(0);
MSG_create_environment(platform_file);
}
{ /* Application deployment */
MSG_create_environment(platform_file);
}
{ /* Application deployment */
@@
-46,7
+45,7
@@
MSG_error_t test_all(const char *platform_file,
}
res = MSG_main();
}
res = MSG_main();
-
INFO1
("Simulation time %g", MSG_get_clock());
+
XBT_INFO
("Simulation time %g", MSG_get_clock());
return res;
} /* end_of_test_all */
return res;
} /* end_of_test_all */