X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da5424cca0866660de64d02fd61cb7bdbc14cb88..4c34ab4cc0212a08411fd0fa4ef9d452db66d3f3:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index f96a75d46e..5ff2d29cf2 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -97,13 +97,13 @@ public: virtual int get_pstate_count() const { return speed_per_pstate_.size(); } - virtual void set_pstate(int pstate_index); virtual int get_pstate() const { return pstate_; } + virtual Cpu* set_pstate(int pstate_index); - /*< @brief Setup the trace file with availability events (peak speed changes due to external load). - * Trace must contain relative values (ratio between 0 and 1) + /*< @brief Setup the profile file with availability events (peak speed changes due to external load). + * Profile must contain relative values (ratio between 0 and 1) */ - virtual void set_speed_profile(profile::Profile* profile); + virtual Cpu* set_speed_profile(profile::Profile* profile); /** * @brief Execute some quantity of computation