X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/79f2c630c9587d494cb154e6d074294c1e23208e..99a42d5d15b6a07e3005056dcf707d3a41671743:/src/surf/host_ptask_L07.hpp diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 1de3995d89..89d109f414 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -57,7 +57,7 @@ public: CpuL07Model(HostL07Model *hmodel,lmm_system_t sys); ~CpuL07Model(); - Cpu *createCpu(simgrid::Host *host, xbt_dynar_t speedPeakList, + Cpu *createCpu(simgrid::s4u::Host *host, xbt_dynar_t speedPeakList, int pstate, double speedScale, tmgr_trace_t speedTrace, int core, int initiallyOn, @@ -94,15 +94,15 @@ public: class CpuL07 : public Cpu { friend void HostL07Model::addTraces(); - tmgr_trace_event_t p_stateEvent; - tmgr_trace_event_t p_speedEvent; + tmgr_trace_iterator_t p_stateEvent; + tmgr_trace_iterator_t p_speedEvent; public: - CpuL07(CpuL07Model *model, simgrid::Host *host, xbt_dynar_t speedPeakList, int pstate, + CpuL07(CpuL07Model *model, simgrid::s4u::Host *host, xbt_dynar_t speedPeakList, int pstate, double power_scale, tmgr_trace_t power_trace, int core, int initiallyOn, tmgr_trace_t state_trace); ~CpuL07(); bool isUsed() override; - void updateState(tmgr_trace_event_t event_type, double value, double date) override; + void updateState(tmgr_trace_iterator_t event_type, double value, double date) override; Action *execute(double size) override; Action *sleep(double duration) override; protected: @@ -121,13 +121,13 @@ public: e_surf_link_sharing_policy_t policy); ~LinkL07(){ }; bool isUsed() override; - void updateState(tmgr_trace_event_t event_type, double value, double date) override; + void updateState(tmgr_trace_iterator_t event_type, double value, double date) override; double getBandwidth() override; void updateBandwidth(double value, double date=surf_get_clock()) override; void updateLatency(double value, double date=surf_get_clock()) override; double m_bwCurrent; - tmgr_trace_event_t p_bwEvent; + tmgr_trace_iterator_t p_bwEvent; }; /**********