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
Define variadic logging macros.
[simgrid.git]
/
doc
/
FAQ.doc
diff --git
a/doc/FAQ.doc
b/doc/FAQ.doc
index
e076825
..
d74e882
100644
(file)
--- a/
doc/FAQ.doc
+++ b/
doc/FAQ.doc
@@
-923,7
+923,7
@@
int sender()
calloc(1,sizeof(double)));
*((double*) task->data) = MSG_get_clock();
MSG_task_put(task, slaves[i % slaves_count], PORT_22);
calloc(1,sizeof(double)));
*((double*) task->data) = MSG_get_clock();
MSG_task_put(task, slaves[i % slaves_count], PORT_22);
-
INFO0
("Send completed");
+
XBT_INFO
("Send completed");
return 0;
}
int receiver()
return 0;
}
int receiver()
@@
-936,7
+936,7
@@
int receiver()
time2 = MSG_get_clock();
if(time1<*((double *)task->data))
time1 = *((double *) task->data);
time2 = MSG_get_clock();
if(time1<*((double *)task->data))
time1 = *((double *) task->data);
-
INFO1
("Communication time : \"%f\" ", time2-time1);
+
XBT_INFO
("Communication time : \"%f\" ", time2-time1);
free(task->data);
MSG_task_destroy(task);
return 0;
free(task->data);
MSG_task_destroy(task);
return 0;