X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea31ec0e5a9d8c016194492e5c943188281950ea..6c619fe932602290423c6a789c2aa034ae9f1cad:/src/surf/host_clm03.hpp diff --git a/src/surf/host_clm03.hpp b/src/surf/host_clm03.hpp index 0a4d47e1b2..bc7ad09d4b 100644 --- a/src/surf/host_clm03.hpp +++ b/src/surf/host_clm03.hpp @@ -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_ @@ -22,8 +22,6 @@ namespace simgrid { namespace surf { class XBT_PRIVATE HostCLM03Model; -class XBT_PRIVATE HostCLM03; -class XBT_PRIVATE HostCLM03Action; /********* * Model * @@ -32,39 +30,10 @@ class XBT_PRIVATE HostCLM03Action; 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; }; - -/************ - * Resource * - ************/ - -class HostCLM03 : public Host { -public: - HostCLM03(HostModel *model, const char* name, xbt_dict_t properties, xbt_dynar_t storage, RoutingEdge *netElm, Cpu *cpu); - ~HostCLM03(); - void updateState(tmgr_trace_event_t event_type, double value, double date) override; - - bool isUsed() override; - - xbt_dynar_t getVms(); -}; - - -/********** - * Action * - **********/ - } }