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
Rename NetCards to NetPoints
[simgrid.git]
/
src
/
surf
/
xml
/
surfxml_sax_cb.cpp
diff --git
a/src/surf/xml/surfxml_sax_cb.cpp
b/src/surf/xml/surfxml_sax_cb.cpp
index
d9a4c52
..
47cf277
100644
(file)
--- a/
src/surf/xml/surfxml_sax_cb.cpp
+++ b/
src/surf/xml/surfxml_sax_cb.cpp
@@
-11,7
+11,7
@@
#include "simgrid/link.h"
#include "simgrid/s4u/engine.hpp"
#include "simgrid/sg_config.h"
#include "simgrid/link.h"
#include "simgrid/s4u/engine.hpp"
#include "simgrid/sg_config.h"
-#include "src/kernel/routing/Net
Card
.hpp"
+#include "src/kernel/routing/Net
Point
.hpp"
#include "src/surf/network_interface.hpp"
#include "src/surf/surf_private.h"
#include "xbt/dict.h"
#include "src/surf/network_interface.hpp"
#include "src/surf/surf_private.h"
#include "xbt/dict.h"
@@
-523,13
+523,7
@@
void STag_surfxml_host___link(){
}
void STag_surfxml_router(){
}
void STag_surfxml_router(){
- s_sg_platf_router_cbarg_t router;
- memset(&router, 0, sizeof(router));
-
- router.id = A_surfxml_router_id;
- router.coord = A_surfxml_router_coordinates;
-
- sg_platf_new_router(&router);
+ sg_platf_new_router(A_surfxml_router_id, A_surfxml_router_coordinates);
}
void ETag_surfxml_cluster(){
}
void ETag_surfxml_cluster(){