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
This structure was not necessary
[simgrid.git]
/
src
/
surf
/
network.c
diff --git
a/src/surf/network.c
b/src/surf/network.c
index
8984b41
..
166e928
100644
(file)
--- a/
src/surf/network.c
+++ b/
src/surf/network.c
@@
-155,7
+155,7
@@
static double (*bandwidth_constraint_callback) (double, double, double) =
&constant_bandwidth_constraint;
&constant_bandwidth_constraint;
-static void* net_create_resource(char *name,
+static void* net_create_resource(c
onst c
har *name,
double bw_initial,
tmgr_trace_t bw_trace,
double lat_initial,
double bw_initial,
tmgr_trace_t bw_trace,
double lat_initial,
@@
-274,7
+274,7
@@
static void net_define_callbacks(void)
{
/* Figuring out the network links */
surfxml_add_callback(STag_surfxml_link_cb_list, &net_parse_link_init);
{
/* Figuring out the network links */
surfxml_add_callback(STag_surfxml_link_cb_list, &net_parse_link_init);
- s
urfxml_add_callback(ETag_surfxml_platform_cb_list, &
net_add_traces);
+ s
g_platf_postparse_add_cb(
net_add_traces);
}
static int net_resource_used(void *resource_id)
}
static int net_resource_used(void *resource_id)