Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix error handling.
[simgrid.git] / include / simgrid / s4u / Host.hpp
index 3fc3b0c..834944e 100644 (file)
@@ -119,7 +119,11 @@ public:
    * @param speed_per_state list of powers for this processor (default power is at index 0)
    */
   Host* set_pstate_speed(const std::vector<double>& speed_per_state);
-  /** @brief Set the CPU's speed (string version) */
+  /**
+   * @brief Set the CPU's speed (string version)
+   *
+   * @throw std::invalid_argument if speed format is incorrect.
+   */
   Host* set_pstate_speed(const std::vector<std::string>& speed_per_state);
 
   /** @brief Get the peak computing speed in flops/s at the current pstate, NOT taking the external load into account.