X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d469f50b8c4288a559b6e1c561b1c0e6efbec864..0c07b616d38841a028f8a34fe66394e232008b5e:/src/surf/xml/platf_private.hpp diff --git a/src/surf/xml/platf_private.hpp b/src/surf/xml/platf_private.hpp index 976fa05ba4..12d82e9b10 100644 --- a/src/surf/xml/platf_private.hpp +++ b/src/surf/xml/platf_private.hpp @@ -11,6 +11,7 @@ #include "simgrid/host.h" #include "src/surf/xml/platf.hpp" +#include SG_BEGIN_DECL() #include "src/surf/xml/simgrid_dtd.h" @@ -81,7 +82,7 @@ typedef struct s_sg_platf_peer_cbarg { double bw_out; double lat; const char* coord; - tmgr_trace_t availability_trace; + tmgr_trace_t speed_trace; tmgr_trace_t state_trace; } s_sg_platf_peer_cbarg_t; @@ -100,7 +101,7 @@ typedef struct s_sg_platf_cluster_cbarg { const char* id; const char* prefix; const char* suffix; - const char* radical; + std::vector* radicals; double speed; int core_amount; double bw; @@ -123,7 +124,7 @@ typedef struct s_sg_platf_cabinet_cbarg { const char* id; const char* prefix; const char* suffix; - const char* radical; + std::vector* radicals; double speed; double bw; double lat; @@ -247,15 +248,9 @@ XBT_PUBLIC(void) routing_route_free(sg_platf_route_cbarg_t route); /********** Instr. **********/ XBT_PRIVATE void sg_instr_AS_begin(sg_platf_AS_cbarg_t AS); XBT_PRIVATE void sg_instr_new_router(sg_platf_router_cbarg_t router); -XBT_PRIVATE void sg_instr_new_host(sg_platf_host_cbarg_t host); +XBT_PRIVATE void sg_instr_new_host(simgrid::s4u::Host& host); XBT_PRIVATE void sg_instr_AS_end(); -typedef struct s_surf_parsing_link_up_down *surf_parsing_link_up_down_t; -typedef struct s_surf_parsing_link_up_down { - Link* linkUp; - Link* linkDown; -} s_surf_parsing_link_up_down_t; - SG_END_DECL() namespace simgrid {