X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9932a0c0d2c44e34633c97a827b2b04d615cb4e9..290e19f26b10dc49485d7d7b06859edff32fd1e1:/src/include/surf/surf.h diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 6a887bcedb..0ddc49158b 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -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