X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ede7d4e0f2464d8646f1d1a3b09fa7f678660ade..3a5d9c005d8ff9357133dbf65af9743e49b1bb6f:/src/surf/host_ptask_L07.hpp diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 0b0349e4ff..1476127cc2 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -26,7 +26,6 @@ class XBT_PRIVATE HostL07Model; class XBT_PRIVATE CpuL07Model; class XBT_PRIVATE NetworkL07Model; -class XBT_PRIVATE HostL07; class XBT_PRIVATE CpuL07; class XBT_PRIVATE LinkL07; @@ -48,8 +47,6 @@ public: Action *executeParallelTask(int host_nb, sg_host_t *host_list, double *flops_amount, double *bytes_amount, double rate) override; - - void addTraces() override; }; class CpuL07Model : public CpuModel { @@ -62,8 +59,6 @@ public: tmgr_trace_t speedTrace, int core, int initiallyOn, tmgr_trace_t state_trace) override; - void addTraces() override {DIE_IMPOSSIBLE;}; - HostL07Model *p_hostModel; }; @@ -82,7 +77,6 @@ public: xbt_dict_t properties) override; Action *communicate(NetCard *src, NetCard *dst, double size, double rate) override; - void addTraces() override {DIE_IMPOSSIBLE;}; bool next_occuring_event_isIdempotent() override {return true;} HostL07Model *p_hostModel; @@ -99,7 +93,7 @@ public: int core, int initiallyOn, tmgr_trace_t state_trace); ~CpuL07(); bool isUsed() override; - void updateState(tmgr_trace_iterator_t event_type, double value) override; + void apply_event(tmgr_trace_iterator_t event, double value) override; Action *execution_start(double size) override; Action *sleep(double duration) override; protected: @@ -118,7 +112,7 @@ public: e_surf_link_sharing_policy_t policy); ~LinkL07(){ }; bool isUsed() override; - void updateState(tmgr_trace_iterator_t event_type, double value) override; + void apply_event(tmgr_trace_iterator_t event, double value) override; void updateBandwidth(double value) override; void updateLatency(double value) override; };