+ if (not flops_amounts_.empty())
+ flops_amounts_.clear();
+ flops_amounts_.push_back(flops_amount);
+ return *this;
+}
+
+ExecImpl& ExecImpl::set_flops_amounts(const std::vector<double>& flops_amounts)
+{
+ flops_amounts_ = flops_amounts;
+ return *this;
+}
+
+ExecImpl& ExecImpl::set_bytes_amounts(const std::vector<double>& bytes_amounts)
+{
+ bytes_amounts_ = bytes_amounts;
+
+ return *this;
+}
+
+ExecImpl* ExecImpl::start()
+{
+ state_ = SIMIX_RUNNING;