Exec::Exec(sg_host_t host, double flops_amount) : Activity(), host_(host), flops_amount_(flops_amount)
{
Activity::set_remaining(flops_amount_);
- pimpl_ = simix::simcall([this] {
- return kernel::activity::ExecImplPtr(new kernel::activity::ExecImpl(name_, tracing_category_, host_));
- });
+ pimpl_ = kernel::activity::ExecImplPtr(new kernel::activity::ExecImpl(name_, tracing_category_, host_));
}
Exec* Exec::start()
Exec* Exec::wait_for(double)
{
THROW_UNIMPLEMENTED;
- return this;
}
/** @brief Returns whether the state of the exec is finished */