X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a2c2415f21e6dd758077d7046e5400d511d9851..08e7455d67920bbd7a87f440d00f2c1e071314a0:/include/simgrid/s4u/Link.hpp diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index 6dbf49e3c8..ae4335a337 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -52,12 +52,14 @@ public: /** @brief Retrieves the name of that link as a C string */ const char* get_cname() const; - /** @brief Get the bandwidth in bytes per second of current Link */ + /** Get the bandwidth of the current Link (in bytes per second) */ double get_bandwidth() const; + /** Set the bandwidth of the current Link (in bytes per second) */ void set_bandwidth(double value); - /** @brief Get the latency in seconds of current Link */ + /** Get the latency of the current Link (in seconds) */ double get_latency() const; + /** Set the latency of the current Link (in seconds) */ void set_latency(double value); /** @brief Describes how the link is shared between flows */