void Exec::start()
{
- pimpl_ = simcall_execution_start(nullptr, flops_amount_, 1 / priority_, 0.);
+ pimpl_ = simcall_execution_start(nullptr, flops_amount_, 1 / priority_, 0., host_);
state_ = started;
}
priority_ = priority;
return this;
}
+ExecPtr Exec::setHost(Host* host)
+{
+ host_ = host;
+ return this;
+}
double Exec::getRemains()
{