X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2b3790827a15510aa6b18146bc01597a568b332b..dd60a691bb83ef59ac7395b8e842712271774e18:/include/simgrid/s4u/Link.hpp diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index 735321aad4..c34383a283 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -60,7 +60,9 @@ public: bool is_used(); void turn_on(); + bool is_on() const; void turn_off(); + bool is_off() const; void* get_data(); /** Should be used only from the C interface. Prefer extensions in C++ */ void set_data(void* d); @@ -83,9 +85,9 @@ public: } #endif - /** Setup the profile file with states events (ON or OFF). The profile must contain boolean values. */ + /** Setup the profile with states events (ON or OFF). The profile must contain boolean values. */ void set_state_profile(kernel::profile::Profile* profile); - /** Setup the profile file with bandwidth events (peak speed changes due to external load). + /** Setup the profile with bandwidth events (peak speed changes due to external load). * The profile must contain percentages (value between 0 and 1). */ void set_bandwidth_profile(kernel::profile::Profile* profile); /** Setup the profile file with latency events (peak latency changes due to external load).