]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/cpu_cas01.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add informative comment near implementation for deprecated functions.
[simgrid.git] / src / surf / cpu_cas01.hpp
index 4a2c0f6e0e001872f21ddc02d8727d24c3a78270..967b186f8e4db194922b389721236be29f664bf0 100644 (file)
@@ -27,20 +27,20 @@ class XBT_PRIVATE CpuCas01Action;
 
 class CpuCas01Model : public CpuModel {
 public:
-  explicit CpuCas01Model(std::string name);
+  explicit CpuCas01Model(const std::string& name);
   CpuCas01Model(const CpuCas01Model&) = delete;
   CpuCas01Model& operator=(const CpuCas01Model&) = delete;
 
-  Cpu* create_cpu(s4u::Host* host, const std::vector<double>& speed_per_pstate) override;
+  CpuImpl* create_cpu(s4u::Host* host, const std::vector<double>& speed_per_pstate) override;
 };
 
 /************
  * Resource *
  ************/
 
-class CpuCas01 : public Cpu {
+class CpuCas01 : public CpuImpl {
 public:
-  using Cpu::Cpu;
+  using CpuImpl::CpuImpl;
   CpuCas01(const CpuCas01&) = delete;
   CpuCas01& operator=(const CpuCas01&) = delete;
   void apply_event(profile::Event* event, double value) override;