X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/48358ed87fd24b70850ed140ea72e40cf8e04df2..6bc0ed8b82677712adaf34d995bc32c0c45eb31f:/src/surf/surf_c_bindings.cpp diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index 75f095fb6e..a683814a84 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -267,16 +267,9 @@ double surf_host_get_power_peak_at(sg_host_t host, int pstate_index){ return host->p_cpu->getPowerPeakAt(pstate_index); } -int surf_host_get_nb_pstates(sg_host_t host){ - return host->p_cpu->getNbPStates(); -} - void surf_host_set_pstate(sg_host_t host, int pstate_index){ host->p_cpu->setPState(pstate_index); } -int surf_host_get_pstate(sg_host_t host){ - return host->p_cpu->getPState(); -} using simgrid::energy::HostEnergy; using simgrid::energy::surf_energy;