A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CpuTI cleanups: initialize fields, dont overide with same content, typos and cosmetics
[simgrid.git]
/
src
/
surf
/
cpu_ti.hpp
diff --git
a/src/surf/cpu_ti.hpp
b/src/surf/cpu_ti.hpp
index
17940d8
..
02b630b
100644
(file)
--- 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;
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;
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 */
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 */
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;
double current_frequency;