From dc534a7d5dd4847f2d0f312af08d9d224acac15c Mon Sep 17 00:00:00 2001 From: schnorr Date: Mon, 13 Dec 2010 16:44:50 +0000 Subject: [PATCH] [trace] adding some comments in the hierarchical structure of containers used during tracing git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9182 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/instr/instr_routing.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/instr/instr_routing.c b/src/instr/instr_routing.c index 7a640a2878..450dca98dd 100644 --- a/src/instr/instr_routing.c +++ b/src/instr/instr_routing.c @@ -15,15 +15,15 @@ extern xbt_dict_t defined_types; /* from instr_interface.c */ typedef struct s_container *container_t; typedef struct s_container { - char *name; - char *type; - int level; + char *name; /* Unique id of this container */ + char *type; /* Type of this container */ + int level; /* Level in the hierarchy, root level is 0 */ struct s_container *father; xbt_dict_t children; }s_container_t; -static container_t rootContainer = NULL; -static xbt_dynar_t currentContainer = NULL; +static container_t rootContainer = NULL; /* the root container */ +static xbt_dynar_t currentContainer = NULL; /* push and pop, used only in creation */ static xbt_dict_t allContainers = NULL; /* all created containers indexed by name */ xbt_dict_t hosts_types = NULL; xbt_dict_t links_types = NULL; -- 2.20.1