X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5bcb2953d5a0cc02aa2004a429f126541cb760df..5397eadb7c0c0482c2a0e658f772d3c165f4a44a:/src/smpi/smpi_dvfs.c diff --git a/src/smpi/smpi_dvfs.c b/src/smpi/smpi_dvfs.c index 608bba4cbb..395f84e696 100644 --- a/src/smpi/smpi_dvfs.c +++ b/src/smpi/smpi_dvfs.c @@ -46,9 +46,9 @@ int smpi_get_host_nb_pstates(void) * * \param pstate_index pstate to switch to */ -void smpi_set_host_power_peak_at(int pstate_index) +void smpi_set_host_pstate(int pstate_index) { - simcall_host_set_power_peak_at(SIMIX_host_self(), pstate_index); + simcall_host_set_pstate(SIMIX_host_self(), pstate_index); } /** @@ -96,10 +96,10 @@ integer smpi_get_host_nb_pstates_(void) return (integer)smpi_get_host_nb_pstates(); } -XBT_PUBLIC(void) smpi_set_host_power_peak_at_(integer *pstate_index); -void smpi_set_host_power_peak_at_(integer *pstate_index) +XBT_PUBLIC(void) smpi_set_host_pstate_(integer *pstate_index); +void smpi_set_host_pstate_(integer *pstate_index) { - smpi_set_host_power_peak_at((int)*pstate_index); + smpi_set_host_pstate((int)*pstate_index); } XBT_PUBLIC(doublereal) smpi_get_host_consumed_energy_(void);