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] separate initialization function from setting the root container
[simgrid.git]
/
src
/
instr
/
instr_paje.c
diff --git
a/src/instr/instr_paje.c
b/src/instr/instr_paje.c
index
4b2c731
..
88a5fb8
100644
(file)
--- a/
src/instr/instr_paje.c
+++ b/
src/instr/instr_paje.c
@@
-16,11
+16,15
@@
static xbt_dict_t allContainers = NULL; /* all created containers indexed by
xbt_dict_t trivaNodeTypes = NULL; /* all link types defined */
xbt_dict_t trivaEdgeTypes = NULL; /* all host types defined */
xbt_dict_t trivaNodeTypes = NULL; /* all link types defined */
xbt_dict_t trivaEdgeTypes = NULL; /* all host types defined */
-void instr_paje_init (
container_t root
)
+void instr_paje_init (
void
)
{
allContainers = xbt_dict_new_homogeneous(NULL);
trivaNodeTypes = xbt_dict_new_homogeneous(xbt_free);
trivaEdgeTypes = xbt_dict_new_homogeneous(xbt_free);
{
allContainers = xbt_dict_new_homogeneous(NULL);
trivaNodeTypes = xbt_dict_new_homogeneous(xbt_free);
trivaEdgeTypes = xbt_dict_new_homogeneous(xbt_free);
+}
+
+void instr_paje_set_root (container_t root)
+{
rootContainer = root;
}
rootContainer = root;
}