X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/360d1e6510190d279551d9ca0510badccb1f8b37..a4f850af455f783fefb0a719eef15d4d9dba2852:/src/surf/surf_interface.hpp diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index b29e7c4936..507c7ce916 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -433,6 +433,9 @@ public: /** @brief Check if the current Resource is used (if it currently serves an action) */ virtual bool isUsed()=0; + /** @brief returns the current load (in flops per second, byte per second or similar) */ + virtual double getLoad(); + /** @brief Check if the current Resource is active */ virtual bool isOn() const; /** @brief Check if the current Resource is shut down */