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
Implement MPI_IN_PLACE behavior for collectives
[simgrid.git]
/
examples
/
msg
/
pmm
/
msg_pmm.c
diff --git
a/examples/msg/pmm/msg_pmm.c
b/examples/msg/pmm/msg_pmm.c
index
ba8a65c
..
ee45fec
100644
(file)
--- a/
examples/msg/pmm/msg_pmm.c
+++ b/
examples/msg/pmm/msg_pmm.c
@@
-271,7
+271,7
@@
static void task_cleanup(void *arg){
int main(int argc, char *argv[])
{
#ifdef BENCH_THIS_CODE
int main(int argc, char *argv[])
{
#ifdef BENCH_THIS_CODE
- xbt_os_timer_t timer = xbt_os_timer_new();
+ xbt_os_
cpu
timer_t timer = xbt_os_timer_new();
#endif
MSG_init(&argc, argv);
#endif
MSG_init(&argc, argv);
@@
-286,11
+286,11
@@
int main(int argc, char *argv[])
MSG_launch_application(application_file);
#ifdef BENCH_THIS_CODE
MSG_launch_application(application_file);
#ifdef BENCH_THIS_CODE
- xbt_os_timer_start(timer);
+ xbt_os_
cpu
timer_start(timer);
#endif
msg_error_t res = MSG_main();
#ifdef BENCH_THIS_CODE
#endif
msg_error_t res = MSG_main();
#ifdef BENCH_THIS_CODE
- xbt_os_timer_stop(timer);
+ xbt_os_
cpu
timer_stop(timer);
#endif
XBT_CRITICAL("Simulated time: %g", MSG_get_clock());
#endif
XBT_CRITICAL("Simulated time: %g", MSG_get_clock());