#define SIMIX_SYNCHRO_EXEC_HPP
#include "src/kernel/activity/ActivityImpl.hpp"
+#include "src/kernel/context/Context.hpp"
#include "surf/surf.hpp"
namespace simgrid {
public:
explicit ExecImpl(std::string name, std::string tracing_category, resource::Action* timeout_detector,
s4u::Host* host);
- void start(double flops_amount, double priority, double bound);
+ ExecImpl* start(double flops_amount, double priority, double bound);
void cancel();
void post() override;
+ void finish() override;
double get_remaining();
double get_remaining_ratio();
void set_bound(double bound);