X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0aa3237e55bac6e64e85f20cbd166ec820e59b4c..9384db270e1d285888021a1c1bb9aad0ae17679c:/include/simgrid/s4u/Host.hpp
diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp
index b27c954e0c..09c55ec295 100644
--- a/include/simgrid/s4u/Host.hpp
+++ b/include/simgrid/s4u/Host.hpp
@@ -105,6 +105,13 @@ public:
void routeTo(Host * dest, std::vector * links, double* latency);
void routeTo(Host * dest, std::vector * links, double* latency);
+ /** Block the calling actor on an execution located on the called host
+ *
+ * It is not a problem if the actor is not located on the called host.
+ * The actor will not be migrated in this case. Such remote execution are easy in simulation.
+ */
+ void execute(double flops);
+
private:
simgrid::xbt::string name_ = "noname";
std::unordered_map* mounts = nullptr; // caching