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

Public GIT Repository
improve the doc of MSG_host_on() and friends
[simgrid.git] / src / include / surf / surf.h
index 6a887bcedb38837d5188f48c2b48213bdb7724e0..0ddc49158bd859b2db2594616d9575c172d8c280 100644 (file)
@@ -620,14 +620,8 @@ XBT_PUBLIC(double) surf_workstation_get_power_peak_at(surf_resource_t host, int
  */
 XBT_PUBLIC(int) surf_workstation_get_nb_pstates(surf_resource_t host);
 
-/**
- * @brief [brief description]
- * @details [long description]
- *
- * @param host [description]
- * @param pstate_index [description]
- */
-XBT_PUBLIC(void) surf_workstation_set_power_peak_at(surf_resource_t host, int pstate_index);
+XBT_PUBLIC(void) surf_workstation_set_pstate(surf_resource_t host, int pstate_index);
+XBT_PUBLIC(int) surf_workstation_get_pstate(surf_resource_t host);
 
 /**
  * @brief Get the consumed energy (in joules) of a workstation