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
TODO for cache friendly
[simgrid.git]
/
src
/
surf
/
network_constant.c
diff --git
a/src/surf/network_constant.c
b/src/surf/network_constant.c
index
3279f4d
..
0a2251c
100644
(file)
--- a/
src/surf/network_constant.c
+++ b/
src/surf/network_constant.c
@@
-109,8
+109,8
@@
static void netcste_update_resource_state(void *id,
DIE_IMPOSSIBLE;
}
DIE_IMPOSSIBLE;
}
-static surf_action_t netcste_communicate(
network_element
_t src,
-
network_element
_t dst,
+static surf_action_t netcste_communicate(
sg_routing_edge
_t src,
+
sg_routing_edge
_t dst,
double size, double rate)
{
surf_action_network_Constant_t action = NULL;
double size, double rate)
{
surf_action_network_Constant_t action = NULL;
@@
-234,5
+234,5
@@
void surf_network_model_init_Constant()
netcste_define_callbacks();
xbt_dynar_push(model_list, &surf_network_model);
netcste_define_callbacks();
xbt_dynar_push(model_list, &surf_network_model);
- routing_model_create(
sizeof(double),
NULL);
+ routing_model_create(NULL);
}
}