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
Starting the network module.
[simgrid.git]
/
testsuite
/
surf
/
surf_usage.c
diff --git
a/testsuite/surf/surf_usage.c
b/testsuite/surf/surf_usage.c
index
e07e775
..
c3cb03b
100644
(file)
--- a/
testsuite/surf/surf_usage.c
+++ b/
testsuite/surf/surf_usage.c
@@
-41,6
+41,7
@@
void test(void)
surf_init(); /* Initialize some common structures */
surf_cpu_resource_init("platform.txt"); /* Now it is possible to use CPUs */
surf_init(); /* Initialize some common structures */
surf_cpu_resource_init("platform.txt"); /* Now it is possible to use CPUs */
+ surf_network_resource_init("platform.txt"); /* Now it is possible to use CPUs */
printf("%p \n", surf_cpu_resource);
cpuA = surf_cpu_resource->common_public->name_service("Cpu A");
printf("%p \n", surf_cpu_resource);
cpuA = surf_cpu_resource->common_public->name_service("Cpu A");