X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/705d7f1d9bb048c715a17cd5e726dbdbbd6b6d71..12ad1e7c01058fada33cecf2d4c4cb8bf9874f9e:/src/kernel/activity/ExecImpl.hpp diff --git a/src/kernel/activity/ExecImpl.hpp b/src/kernel/activity/ExecImpl.hpp index f71e3cc113..f58d3c2b65 100644 --- a/src/kernel/activity/ExecImpl.hpp +++ b/src/kernel/activity/ExecImpl.hpp @@ -24,6 +24,7 @@ public: void post() override; double remains(); double remainingRatio(); + virtual ActivityImpl* migrate(s4u::Host* to); /* The host where the execution takes place. If nullptr, then this is a parallel exec (and only surf knows the hosts) */ @@ -32,6 +33,8 @@ public: surf::Action* timeoutDetector = nullptr; static simgrid::xbt::signal onCreation; static simgrid::xbt::signal onCompletion; + static simgrid::xbt::signal onMigration; + }; } }