From e906c21c58952a776797d657233c306aca2a1ef8 Mon Sep 17 00:00:00 2001 From: SUTER Frederic Date: Tue, 6 Apr 2021 18:15:23 +0200 Subject: [PATCH] cleanups --- src/surf/xml/platf_private.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/surf/xml/platf_private.hpp b/src/surf/xml/platf_private.hpp index 1c3168bc78..f48f6fb030 100644 --- a/src/surf/xml/platf_private.hpp +++ b/src/surf/xml/platf_private.hpp @@ -42,7 +42,7 @@ public: profile::Profile* state_trace = nullptr; std::string coord = ""; std::unordered_map* properties = nullptr; - std::vector disks; + std::vector disks; }; class HostLinkCreationArgs { @@ -57,10 +57,10 @@ public: std::string id; std::vector bandwidths; profile::Profile* bandwidth_trace = nullptr; - double latency = 0; + double latency = 0; profile::Profile* latency_trace = nullptr; profile::Profile* state_trace = nullptr; - simgrid::s4u::Link::SharingPolicy policy = simgrid::s4u::Link::SharingPolicy::FATPIPE; + s4u::Link::SharingPolicy policy = s4u::Link::SharingPolicy::FATPIPE; std::unordered_map* properties = nullptr; }; @@ -82,7 +82,7 @@ public: NetPoint* dst = nullptr; NetPoint* gw_src = nullptr; NetPoint* gw_dst = nullptr; - std::vector link_list; + std::vector link_list; }; enum class ClusterTopology { DRAGONFLY = 3, FAT_TREE = 2, FLAT = 1, TORUS = 0 }; @@ -106,8 +106,8 @@ public: std::string topo_parameters; std::unordered_map* properties = nullptr; std::string router_id; - simgrid::s4u::Link::SharingPolicy sharing_policy = simgrid::s4u::Link::SharingPolicy::SPLITDUPLEX; - simgrid::s4u::Link::SharingPolicy bb_sharing_policy = simgrid::s4u::Link::SharingPolicy::SHARED; + s4u::Link::SharingPolicy sharing_policy = s4u::Link::SharingPolicy::SPLITDUPLEX; + s4u::Link::SharingPolicy bb_sharing_policy = s4u::Link::SharingPolicy::SHARED; }; class CabinetCreationArgs { -- 2.20.1