X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a801388e1d66c1dec6094831d746ecf90181bd43..10f12acec06b772d960500524bbbaf2d5d48c08b:/src/surf/ptask_L07.hpp diff --git a/src/surf/ptask_L07.hpp b/src/surf/ptask_L07.hpp index a2192e1ca1..cf70d56635 100644 --- a/src/surf/ptask_L07.hpp +++ b/src/surf/ptask_L07.hpp @@ -38,7 +38,6 @@ public: HostL07Model(); HostL07Model(const HostL07Model&) = delete; HostL07Model& operator=(const HostL07Model&) = delete; - ~HostL07Model() override; double next_occurring_event(double now) override; void update_actions_state(double now, double delta) override; @@ -52,10 +51,11 @@ public: CpuL07Model(const CpuL07Model&) = delete; CpuL07Model& operator=(const CpuL07Model&) = delete; ~CpuL07Model() override; - /* this action is done by HostL07Model which shares the LMM system with the CPU model - * Overriding to an empty function here allows us to handle the Cpu07Model as a regular - * method in surf_presolve */ - void update_actions_state(double now, double delta) override{}; + void update_actions_state(double /*now*/, double /*delta*/) override{ + /* this action is done by HostL07Model which shares the LMM system with the CPU model + * Overriding to an empty function here allows us to handle the Cpu07Model as a regular + * method in surf_presolve */ + }; kernel::resource::Cpu* create_cpu(s4u::Host* host, const std::vector& speed_per_pstate) override; HostL07Model* hostModel_; @@ -71,10 +71,11 @@ public: s4u::Link::SharingPolicy policy) override; kernel::resource::Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override; - /* this action is done by HostL07Model which shares the LMM system with the CPU model - * Overriding to an empty function here allows us to handle the Cpu07Model as a regular - * method in surf_presolve */ - void update_actions_state(double now, double delta) override{}; + void update_actions_state(double /*now*/, double /*delta*/) override{ + /* this action is done by HostL07Model which shares the LMM system with the CPU model + * Overriding to an empty function here allows us to handle the Cpu07Model as a regular + * method in surf_presolve */ + }; HostL07Model* hostModel_; }; @@ -85,7 +86,7 @@ public: class CpuL07 : public kernel::resource::Cpu { public: - CpuL07(s4u::Host* host, const std::vector& speed_per_pstate) : Cpu(host, speed_per_pstate){}; + using kernel::resource::Cpu::Cpu; CpuL07(const CpuL07&) = delete; CpuL07& operator=(const CpuL07&) = delete;