X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5623028f32d7821973a11d81306c72380859cb17..01dd1d293c39ba31c3e509cf413c11fc991a0043:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index 9df68f476f..a9820c4f16 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -118,6 +118,8 @@ public: int initiallyOn, tmgr_trace_t stateTrace) ; ~CpuTi(); + void set_speed_trace(tmgr_trace_t trace); + void updateState(tmgr_trace_iterator_t event_type, double value, double date) override; void updateActionsFinishTime(double now); bool isUsed() override; @@ -128,8 +130,6 @@ public: void modified(bool modified); CpuTiTgmr *p_availTrace; /*< Structure with data needed to integrate trace file */ - tmgr_trace_iterator_t p_stateEvent = NULL; /*< trace file with states events (ON or OFF) */ - tmgr_trace_iterator_t p_speedEvent = NULL; /*< trace file with availability events */ ActionTiList *p_actionSet; /*< set with all actions running on cpu */ double m_sumPriority; /*< the sum of actions' priority that are running on cpu */ double m_lastUpdate = 0; /*< last update of actions' remaining amount done */