X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a519c335d0eff55715920c3eaf8d0a5007406e91..1fbd3090585708e05603e5c708c6a37412227f51:/src/surf/HostImpl.hpp diff --git a/src/surf/HostImpl.hpp b/src/surf/HostImpl.hpp index a47d5660d0..6ae01d5f5c 100644 --- a/src/surf/HostImpl.hpp +++ b/src/surf/HostImpl.hpp @@ -74,9 +74,8 @@ public: * @param model HostModel associated to this Host * @param name The name of the Host * @param storage The Storage associated to this Host - * @param cpu The Cpu associated to this Host */ - HostImpl(HostModel *model, const char *name, xbt_dynar_t storage, Cpu *cpu); + HostImpl(HostModel* model, const char* name, xbt_dynar_t storage); /** * @brief Host constructor @@ -85,10 +84,8 @@ public: * @param name The name of the Host * @param constraint The lmm constraint associated to this Host if it is part of a LMM component * @param storage The Storage associated to this Host - * @param cpu The Cpu associated to this Host */ - HostImpl(HostModel *model, const char *name, - lmm_constraint_t constraint, xbt_dynar_t storage, Cpu *cpu); + HostImpl(HostModel* model, const char* name, lmm_constraint_t constraint, xbt_dynar_t storage); /* Host destruction logic */ /**************************/ @@ -102,11 +99,6 @@ public: } void attach(simgrid::s4u::Host* host); - bool isOn() const override; - bool isOff() const override; - void turnOn() override; - void turnOff() override; - /** @brief Return the storage of corresponding mount point */ virtual simgrid::surf::Storage *findStorageOnMountList(const char* storage); @@ -220,7 +212,6 @@ public: public: xbt_dynar_t storage_ = nullptr; - Cpu* cpu_ = nullptr; simgrid::s4u::Host* piface_ = nullptr; /** @brief Get the list of virtual machines on the current Host */