]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/cpu_interface.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Torus/Fat-Tree/Dragonfly: Aggregate callbacks
[simgrid.git] / src / surf / cpu_interface.hpp
index 5ff2d29cf28cd20e1496b9ca482bb63578240d21..03dffc67111c475276a649bf9534a85a35a4b36f 100644 (file)
@@ -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<double>& speed_per_state);
+
   /**
    * @brief Execute some quantity of computation
    *