X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f01052cf1a094dd5df8869e4b26431b1efb6abb0..485fa582bda7c51fb184bf0f82d0eb250be9f805:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index a8b3440a15..82c24bee11 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -99,7 +99,7 @@ public: /** @brief Get the peak processor speed (in flops/s), at the specified pstate */ virtual double get_pstate_peak_speed(int pstate_index) const; - virtual int get_pstate_count() const { return speed_per_pstate_.size(); } + virtual unsigned long get_pstate_count() const { return speed_per_pstate_.size(); } virtual int get_pstate() const { return pstate_; } virtual CpuImpl* set_pstate(int pstate_index);