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
I think I now better understand the surf internals: each resource can be *either...
[simgrid.git]
/
src
/
surf
/
network.c
diff --git
a/src/surf/network.c
b/src/surf/network.c
index
9fb8024
..
771ca0d
100644
(file)
--- a/
src/surf/network.c
+++ b/
src/surf/network.c
@@
-544,7
+544,7
@@
static double get_link_latency(const void *link)
return ((link_CM02_t) link)->lat_current;
}
return ((link_CM02_t) link)->lat_current;
}
-static xbt_dict_t get_
link_property_list
(void *link)
+static xbt_dict_t get_
properties
(void *link)
{
return ((link_CM02_t) link)->properties;
}
{
return ((link_CM02_t) link)->properties;
}
@@
-674,8
+674,8
@@
static void surf_network_model_init_internal(void)
get_link_bandwidth;
surf_network_model->extension_public->get_link_latency =
get_link_latency;
get_link_bandwidth;
surf_network_model->extension_public->get_link_latency =
get_link_latency;
- /*for the props of the link*/
- surf_network_model->common_public->get_
link_properties = get_link_property_list
;
+
+ surf_network_model->common_public->get_
properties = get_properties
;
link_set = xbt_dict_new();
network_card_set = xbt_dict_new();
link_set = xbt_dict_new();
network_card_set = xbt_dict_new();