Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Drop s4u::Host::getPstateSpeedCurrent() which dupplicates Host::speed()
[simgrid.git] / src / surf / cpu_ti.hpp
index b99ecd3..6eca45a 100644 (file)
@@ -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<double>* 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_;