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
debug debug debug
[simgrid.git]
/
src
/
msg
/
environment.c
diff --git
a/src/msg/environment.c
b/src/msg/environment.c
index
e0644ec
..
981db97
100644
(file)
--- a/
src/msg/environment.c
+++ b/
src/msg/environment.c
@@
-60,8
+60,16
@@
src_name dst_name (link_name link_name link_name ... )
* it looks like.
*/
void MSG_create_environment(const char *file) {
* it looks like.
*/
void MSG_create_environment(const char *file) {
+ xbt_dict_cursor_t cursor = NULL;
+ char *name = NULL;
+ void *workstation = NULL;
+
surf_workstation_resource_init(file);
surf_workstation_resource_init(file);
+ xbt_dict_foreach(workstation_set, cursor, name, workstation) {
+ __MSG_host_create(name, workstation, NULL);
+ }
+
return;
}
return;
}