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
fixed a bug in add_route in all models + dict uses DJB2 hash func now + modified...
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
8e85a23
..
7fd132a
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-494,7
+494,7
@@
void init_data(void)
{
xbt_dict_free(&route_table);
xbt_dynar_free(&route_link_list);
- route_table = xbt_dict_new
_ext(202400
);
+ route_table = xbt_dict_new
(
);
route_multi_table = xbt_dict_new();
route_multi_elements = xbt_dynar_new(sizeof(char*), NULL);
@@
-802,6
+802,7
@@
static void add_multi_links(const char* src, const char* dst, xbt_dynar_t links,
val = xbt_strdup(src_name);
else
val = xbt_strdup(value);
+ DEBUG1("\t\tELEMENT: %s", val);
xbt_dynar_push(route_link_list, &val);
}
surfxml_call_cb_functions(ETag_surfxml_route_cb_list);
@@
-931,7
+932,7
@@
void parse_cluster(void)
char * backbone_name = bprintf("%s_bb", cluster_id);
parse_change_link_data(backbone_name, cluster_bb_bw, "", cluster_bb_lat, "", "");
A_surfxml_link_state = A_surfxml_link_state_ON;
- A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_
SHARED
;
+ A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_
FATPIPE
;
SURFXML_START_TAG(link);
SURFXML_END_TAG(link);