X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/89f6d35abcb0216d91af8375fc48a027ff372a08..fde63ab63d776f60717181c36961cde86cb6d23d:/include/simgrid/s4u/Link.hpp diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index be6dfb2449..07b0e85e55 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -45,10 +45,10 @@ public: const char* get_cname() const; /** @brief Get the bandwidth in bytes per second of current Link */ - double get_bandwidth(); + double get_bandwidth() const; /** @brief Get the latency in seconds of current Link */ - double get_latency(); + double get_latency() const; /** @brief Describes how the link is shared between flows */ SharingPolicy get_sharing_policy();