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
Use msg_host_t instead of m_host_t.
[simgrid.git]
/
examples
/
msg
/
masterslave
/
masterslave_cluster.c
diff --git
a/examples/msg/masterslave/masterslave_cluster.c
b/examples/msg/masterslave/masterslave_cluster.c
index
6d78433
..
83d2cb8
100644
(file)
--- a/
examples/msg/masterslave/masterslave_cluster.c
+++ b/
examples/msg/masterslave/masterslave_cluster.c
@@
-26,7
+26,7
@@
int slave(int argc, char *argv[]);
int master(int argc, char *argv[])
{
int slaves_count = 0;
int master(int argc, char *argv[])
{
int slaves_count = 0;
- m_host_t *slaves = NULL;
+ m
sg
_host_t *slaves = NULL;
m_task_t *todo = NULL;
int number_of_tasks = 0;
double task_comp_size = 0;
m_task_t *todo = NULL;
int number_of_tasks = 0;
double task_comp_size = 0;
@@
-56,7
+56,7
@@
int master(int argc, char *argv[])
{ /* Process organisation */
slaves_count = argc - 4;
{ /* Process organisation */
slaves_count = argc - 4;
- slaves = xbt_new0(m_host_t, slaves_count);
+ slaves = xbt_new0(m
sg
_host_t, slaves_count);
for (i = 4; i < argc; i++) {
slaves[i - 4] = MSG_get_host_by_name(argv[i]);
for (i = 4; i < argc; i++) {
slaves[i - 4] = MSG_get_host_by_name(argv[i]);