X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/268aabc05cf124783cd4972c9bc3d8b735ce5f95..8d777265e12b0b9c5f13fecfc719474cdd214e9e:/src/surf/host_ptask_L07.hpp diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 71728ac293..3754b67fac 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -103,7 +103,7 @@ public: ~CpuL07(); bool isUsed() override; void updateState(tmgr_trace_iterator_t event_type, double value, double date) override; - Action *execute(double size) override; + Action *execution_start(double size) override; Action *sleep(double duration) override; protected: void onSpeedChange() override; @@ -134,12 +134,12 @@ public: * Action * **********/ class L07Action : public CpuAction { - friend Action *CpuL07::execute(double size); + friend Action *CpuL07::execution_start(double size); friend Action *CpuL07::sleep(double duration); friend Action *HostL07Model::executeParallelTask(int host_nb, sg_host_t*host_list, double *flops_amount, - double *bytes_amount, + double *bytes_amount, double rate); public: L07Action(Model *model, int host_nb, @@ -152,11 +152,6 @@ public: void updateBound(); int unref() override; - void suspend() override; - void resume() override; - void setMaxDuration(double duration) override; - void setPriority(double priority) override; - double getRemains() override; std::vector * p_netcardList = new std::vector(); double *p_computationAmount;