Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill 2 useless calls
[simgrid.git] / src / surf / surf_c_bindings.cpp
index 75f095f..a683814 100644 (file)
@@ -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;