X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f702e82d4a8bbafc08f94b2d561c757dd675ec17..1f1c7080d6a6cf2d444dc724d08dc568969aa145:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index 17940d84e5..02b630b7f8 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -91,7 +91,6 @@ public: void updateIndexHeap(int i); void suspend() override; void resume() override; - bool isSuspended() override; void setMaxDuration(double duration) override; void setPriority(double priority) override; double getRemains() override; @@ -130,11 +129,11 @@ public: void modified(bool modified); CpuTiTgmr *p_availTrace; /*< Structure with data needed to integrate trace file */ - tmgr_trace_event_t p_stateEvent; /*< trace file with states events (ON or OFF) */ - tmgr_trace_event_t p_speedEvent; /*< trace file with availability events */ + tmgr_trace_event_t p_stateEvent = NULL; /*< trace file with states events (ON or OFF) */ + tmgr_trace_event_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; /*< last update of actions' remaining amount done */ + double m_lastUpdate = 0; /*< last update of actions' remaining amount done */ double current_frequency;