-CpuL07::CpuL07(CpuL07Model* model, simgrid::s4u::Host* host, std::vector<double>* speed_per_pstate, int core)
- : Cpu(model, host, model->get_maxmin_system()->constraint_new(this, speed_per_pstate->front()), speed_per_pstate,
- core)
-{
-}
-
-CpuL07::~CpuL07()=default;
-
-LinkL07::LinkL07(NetworkL07Model* model, const std::string& name, double bandwidth, double latency,
- s4u::Link::SharingPolicy policy)
- : LinkImpl(model, name, model->get_maxmin_system()->constraint_new(this, bandwidth))
-{
- bandwidth_.peak = bandwidth;
- latency_.peak = latency;
-
- if (policy == s4u::Link::SharingPolicy::FATPIPE)
- get_constraint()->unshare();
-
- s4u::Link::on_creation(this->piface_);
-}
-
-kernel::resource::Action* CpuL07::execution_start(double size)