X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3cd6f2bf8f8015a99c9bb351f568f32fe8429a0f..6cb7d1fc585d47d6dbad8c288e8f275448f8025c:/src/surf/ptask_L07.hpp diff --git a/src/surf/ptask_L07.hpp b/src/surf/ptask_L07.hpp index 3b944a36bd..4ae5bb8dd8 100644 --- a/src/surf/ptask_L07.hpp +++ b/src/surf/ptask_L07.hpp @@ -47,7 +47,7 @@ public: class CpuL07Model : public CpuModel { public: - CpuL07Model(HostL07Model *hmodel,lmm_system_t sys); + CpuL07Model(HostL07Model* hmodel, lmm_system_t sys); ~CpuL07Model(); Cpu *createCpu(simgrid::s4u::Host *host, std::vector *speedPerPstate, int core) override; @@ -56,7 +56,7 @@ public: class NetworkL07Model : public NetworkModel { public: - NetworkL07Model(HostL07Model *hmodel, lmm_system_t sys); + NetworkL07Model(HostL07Model* hmodel, lmm_system_t sys); ~NetworkL07Model(); LinkImpl* createLink(const std::string& name, double bandwidth, double latency, e_surf_link_sharing_policy_t policy) override; @@ -76,8 +76,9 @@ public: ~CpuL07() override; bool isUsed() override; void apply_event(tmgr_trace_event_t event, double value) override; - Action *execution_start(double size) override; - Action *sleep(double duration) override; + Action* execution_start(double size) override; + Action* sleep(double duration) override; + protected: void onSpeedChange() override; };