X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/312dad6a570ced09122bcec5404515e470b7505d..f71e493a21cbe3ca6dce72765bf0b46643db158c:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 5ff2d29cf2..03dffc6711 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -105,6 +105,13 @@ public: */ virtual Cpu* set_speed_profile(profile::Profile* profile); + /** + * @brief Set the CPU's speed + * + * @param speed_per_state list of powers for this processor (default power is at index 0) + */ + Cpu* set_pstate_speed(const std::vector& speed_per_state); + /** * @brief Execute some quantity of computation *