X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eecf563b3a3a0333dac9f754fe11f047c99cd27d..fada3b2a44977aca17ab9e8163df0795378ad129:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index a4f918404a..57515468ab 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -119,7 +119,7 @@ public: return nullptr; } CpuAction *sleep(double duration) override; - double get_available_speed() override; + double get_speed_ratio() override; void set_modified(bool modified); @@ -139,9 +139,9 @@ typedef boost::intrusive::list CpuTiList; *********/ class CpuTiModel : public CpuModel { public: - CpuTiModel() : CpuModel(Model::UpdateAlgo::Full){}; + CpuTiModel() : CpuModel(Model::UpdateAlgo::FULL){}; ~CpuTiModel() override; - Cpu* createCpu(simgrid::s4u::Host* host, std::vector* speed_per_pstate, int core) override; + Cpu* create_cpu(simgrid::s4u::Host* host, std::vector* speed_per_pstate, int core) override; double next_occuring_event(double now) override; void update_actions_state(double now, double delta) override;