Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
classes can actually be created on demand
[simgrid.git] / src / surf / host_clm03.hpp
index ef4ec1c..bc7ad09 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "storage_interface.hpp"
 #include "cpu_interface.hpp"
-#include "host_interface.hpp"
+#include "src/surf/HostImpl.hpp"
 #include "network_interface.hpp"
 
 #ifndef SURF_HOST_CLM03_HPP_
@@ -30,19 +30,10 @@ class XBT_PRIVATE HostCLM03Model;
 class HostCLM03Model : public HostModel {
 public:
   HostCLM03Model(): HostModel(){}
-  ~HostCLM03Model() {}
-  Host *createHost(const char *name, RoutingEdge *netElm, Cpu *cpu, xbt_dict_t props) override;
-  double shareResources(double now) override;
-
+  ~HostCLM03Model() override;
+  double next_occuring_event(double now) override;
   void updateActionsState(double now, double delta) override;
-
-  Action *executeParallelTask(int host_nb,
-                              sg_host_t *host_list,
-                                                         double *flops_amount,
-                                                         double *bytes_amount,
-                                                         double rate) override;
 };
-
 }
 }