X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/453ce02e0133358ef34d58e920521b6a29fe2283..8a0e2b82a1c0981a84e67f1bb4afb6e16fbf8c3a:/src/surf/xml/platf_private.hpp diff --git a/src/surf/xml/platf_private.hpp b/src/surf/xml/platf_private.hpp index 793941dbc9..8ae587d39f 100644 --- a/src/surf/xml/platf_private.hpp +++ b/src/surf/xml/platf_private.hpp @@ -40,7 +40,7 @@ struct HostCreationArgs { tmgr_trace_t speed_trace = nullptr; tmgr_trace_t state_trace = nullptr; const char* coord = nullptr; - std::map* properties = nullptr; + std::unordered_map* properties = nullptr; }; class HostLinkCreationArgs { @@ -59,7 +59,7 @@ public: tmgr_trace_t latency_trace = nullptr; tmgr_trace_t state_trace = nullptr; simgrid::s4u::Link::SharingPolicy policy = simgrid::s4u::Link::SharingPolicy::FATPIPE; - std::map* properties = nullptr; + std::unordered_map* properties = nullptr; }; class PeerCreationArgs { @@ -102,7 +102,7 @@ public: double limiter_link = 0; ClusterTopology topology; std::string topo_parameters; - std::map* properties; + std::unordered_map* properties; std::string router_id; simgrid::s4u::Link::SharingPolicy sharing_policy; simgrid::s4u::Link::SharingPolicy bb_sharing_policy; @@ -124,7 +124,7 @@ public: std::string id; std::string type_id; std::string content; - std::map* properties; + std::unordered_map* properties; std::string attach; }; @@ -133,8 +133,8 @@ public: std::string id; std::string model; std::string content; - std::map* properties; - std::map* model_properties; + std::unordered_map* properties; + std::unordered_map* model_properties; sg_size_t size; }; @@ -166,7 +166,7 @@ enum class ActorOnFailure { DIE, RESTART }; // FIXME: move to a better namespace class ActorCreationArgs { public: std::vector args; - std::map* properties = nullptr; + std::unordered_map* properties = nullptr; const char* host = nullptr; const char* function = nullptr; double start_time = 0.0;