std::vector<double> flops_amounts_;
std::vector<double> bytes_amounts_;
s4u::Exec* piface_;
+
public:
ExecImpl();
s4u::Exec* get_iface() { return piface_; }
ExecImpl& set_flops_amount(double flop_amount);
ExecImpl& set_host(s4u::Host* host);
s4u::Host* get_host() const { return hosts_.front(); }
+ std::vector<s4u::Host*> get_hosts() const { return hosts_; }
ExecImpl& set_flops_amounts(const std::vector<double>& flops_amounts);
ExecImpl& set_bytes_amounts(const std::vector<double>& bytes_amounts);
void post() override;
void finish() override;
+ static void wait_any_for(actor::ActorImpl* issuer, const std::vector<ExecImpl*>* execs, double timeout);
+
static xbt::signal<void(ExecImpl const&, s4u::Host*)> on_migration;
};
} // namespace activity