-/* Copyright (c) 2013-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
friend CpuAction* CpuCas01::sleep(double duration);
public:
- CpuCas01Action(Model* model, double cost, bool failed, double speed, lmm::Constraint* constraint, int core_count);
- CpuCas01Action(Model* model, double cost, bool failed, double speed, lmm::Constraint* constraint);
+ CpuCas01Action(Model* model, double cost, bool failed, double speed, lmm::Constraint* constraint,
+ int requested_core = 1);
CpuCas01Action(const CpuCas01Action&) = delete;
CpuCas01Action& operator=(const CpuCas01Action&) = delete;
~CpuCas01Action() override;