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
Move datadesc and TCP sockets from GRAS to XBT.
[simgrid.git]
/
examples
/
msg
/
parallel_task
/
parallel_task.c
diff --git
a/examples/msg/parallel_task/parallel_task.c
b/examples/msg/parallel_task/parallel_task.c
index
3a3825c
..
f546f6c
100644
(file)
--- a/
examples/msg/parallel_task/parallel_task.c
+++ b/
examples/msg/parallel_task/parallel_task.c
@@
-53,7
+53,7
@@
int test(int argc, char *argv[])
/* free(communication_amount); */
/* free(computation_amount); */
/* free(communication_amount); */
/* free(computation_amount); */
-
INFO0
("Goodbye now!");
+
XBT_INFO
("Goodbye now!");
free(slaves);
return 0;
}
free(slaves);
return 0;
}
@@
-65,7
+65,6
@@
MSG_error_t test_all(const char *platform_file)
m_host_t *hosts;
MSG_config("workstation/model", "ptask_L07");
m_host_t *hosts;
MSG_config("workstation/model", "ptask_L07");
- MSG_set_channel_number(1);
MSG_create_environment(platform_file);
hosts = MSG_get_host_table();
MSG_create_environment(platform_file);
hosts = MSG_get_host_table();
@@
-73,7
+72,7
@@
MSG_error_t test_all(const char *platform_file)
res = MSG_main();
xbt_free(hosts);
res = MSG_main();
xbt_free(hosts);
-
INFO1
("Simulation time %g", MSG_get_clock());
+
XBT_INFO
("Simulation time %g", MSG_get_clock());
return res;
}
return res;
}