-CpuCas01::CpuCas01(CpuCas01Model* model, s4u::Host* host, const std::vector<double>& speed_per_pstate, int core)
- : Cpu(model, host, model->get_maxmin_system()->constraint_new(this, core * speed_per_pstate.front()),
- speed_per_pstate, core)
-{
-}
-
-CpuCas01::~CpuCas01() = default;
-
-bool CpuCas01::is_used()
-{
- return get_model()->get_maxmin_system()->constraint_used(get_constraint());
-}
-