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
initial instrumentation points for the smpi component
[simgrid.git]
/
src
/
smpi
/
smpi_global.c
diff --git
a/src/smpi/smpi_global.c
b/src/smpi/smpi_global.c
index
6f92d0f
..
6c9f390
100644
(file)
--- a/
src/smpi/smpi_global.c
+++ b/
src/smpi/smpi_global.c
@@
-183,8
+183,16
@@
int main(int argc, char **argv)
"Minimal computation time (in seconds) not discarded.",
xbt_cfgelm_double, &default_threshold, 1, 1, NULL, NULL);
"Minimal computation time (in seconds) not discarded.",
xbt_cfgelm_double, &default_threshold, 1, 1, NULL, NULL);
+#ifdef HAVE_TRACING
+ TRACE_global_init (&argc, argv);
+#endif
+
SIMIX_global_init(&argc, argv);
SIMIX_global_init(&argc, argv);
+#ifdef HAVE_TRACING
+ TRACE_smpi_start ();
+#endif
+
// parse the platform file: get the host list
SIMIX_create_environment(argv[1]);
// parse the platform file: get the host list
SIMIX_create_environment(argv[1]);
@@
-212,6
+220,10
@@
int main(int argc, char **argv)
SIMIX_message_sizes_output("toto.txt");
SIMIX_message_sizes_output("toto.txt");
+#ifdef HAVE_TRACING
+ TRACE_smpi_end ();
+#endif
+
SIMIX_clean();
return 0;
}
SIMIX_clean();
return 0;
}