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

Public GIT Repository
Make s_lmm_constraint_t a class with its methods.
[simgrid.git] / src / surf / cpu_interface.hpp
index 920f92f6f0c2994cc62725358ff6b15ffe16e193..f360cf1059a15f94fc87ffa88d80e8670e4f4e8f 100644 (file)
 namespace simgrid {
 namespace surf {
 
-class CpuModel;
-class Cpu;
-class CpuAction;
-
  /** @ingroup SURF_cpu_interface
  * @brief SURF cpu model interface class
  * @details A model is an object which handle the interactions between its Resources and its Actions
@@ -168,6 +164,9 @@ static simgrid::xbt::signal<void(simgrid::surf::CpuAction*)> onShareChange;
 
   void updateRemainingLazy(double now) override;
   std::list<Cpu*> cpus();
+  
+  void suspend() override;
+  void resume() override;
 };
 
 }