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
[trace] add missing tesh to test user variables tracing
[simgrid.git]
/
examples
/
msg
/
mc
/
bugged3.c
diff --git
a/examples/msg/mc/bugged3.c
b/examples/msg/mc/bugged3.c
index
5853337
..
8e33b31
100644
(file)
--- a/
examples/msg/mc/bugged3.c
+++ b/
examples/msg/mc/bugged3.c
@@
-27,11
+27,11
@@
int server(int argc, char *argv[])
MSG_comm_wait(comm2, -1);
val1 = (long) MSG_task_get_data(task1);
MSG_comm_wait(comm2, -1);
val1 = (long) MSG_task_get_data(task1);
-
INFO1
("Received %lu", val1);
+
XBT_INFO
("Received %lu", val1);
MC_assert(val1 == 2);
MC_assert(val1 == 2);
-
INFO0
("OK");
+
XBT_INFO
("OK");
return 0;
}
return 0;
}
@@
-44,7
+44,7
@@
int client(int argc, char *argv[])
mbox = bprintf("mymailbox%s", argv[1]);
mbox = bprintf("mymailbox%s", argv[1]);
-
INFO1
("Send %d!", atoi(argv[1]));
+
XBT_INFO
("Send %d!", atoi(argv[1]));
comm = MSG_task_isend(task1, mbox);
MSG_comm_wait(comm, -1);
comm = MSG_task_isend(task1, mbox);
MSG_comm_wait(comm, -1);