X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e1533d482ef3d7286eb7afc5d246b1aba8cfc1e5..018f350d5ea999b34ce1a4294cf53993ba2003a7:/include/simgrid/s4u/Link.hpp diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index 4fa04e8b26..d5d13bba1d 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -54,9 +54,11 @@ public: /** @brief Get the bandwidth in bytes per second of current Link */ double get_bandwidth() const; + void set_bandwidth(double value); /** @brief Get the latency in seconds of current Link */ double get_latency() const; + void set_latency(double value); /** @brief Describes how the link is shared between flows */ SharingPolicy get_sharing_policy() const;