X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea08504776a7b5b76f57bfee434b43ed572ca9f1..a53d7cf0445e5a6c3f2bb6606e6bd3b2b33b7867:/include/simgrid/s4u/Host.hpp diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index 083b80fdc9..0a3c3c94a7 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -90,6 +90,7 @@ public: bool isOff() { return not isOn(); } double getSpeed(); + double get_available_speed(); int getCoreCount(); std::map* getProperties(); const char* getProperty(const char* key); @@ -119,6 +120,8 @@ public: * The actor will not be migrated in this case. Such remote execution are easy in simulation. */ void execute(double flops); + /** Block the calling actor on an execution located on the called host (with explicit priority) */ + void execute(double flops, double priority); /** @brief Returns the current computation load (in flops per second) */ double getLoad();