X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17ec0354e5b48f8b724d87b20828daa80bfe0bad..4b8feb2f921bf25aa725cc7ea0b306195b55bb1b:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index b99ecd3dea..6eca45aaa8 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -97,9 +97,9 @@ public: double getRemains() override; CpuTi *cpu_; - int indexHeap_; + int indexHeap_ = -1; int suspended_ = 0; -public: + boost::intrusive::list_member_hook<> action_ti_hook; }; @@ -134,7 +134,6 @@ public: double currentFrequency_; -public: boost::intrusive::list_member_hook<> cpu_ti_hook; }; @@ -149,7 +148,7 @@ public: CpuTiModel(); ~CpuTiModel() override; Cpu *createCpu(simgrid::s4u::Host *host, std::vector* speedPerPstate, int core) override; - double next_occuring_event(double now) override; + double nextOccuringEvent(double now) override; void updateActionsState(double now, double delta) override; ActionList *runningActionSetThatDoesNotNeedBeingChecked_;