Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
C++-ifies a wrapper function, and kill it
[simgrid.git] / src / surf / surf_c_bindings.cpp
index 75f095fb6ecd34debec2457a088442953b0a0fdf..20b8c08c39038906d391385b807577defaaab0ce 100644 (file)
@@ -255,10 +255,6 @@ double surf_host_get_available_speed(sg_host_t host){
   return host->p_cpu->getAvailableSpeed();
 }
 
-surf_action_t surf_host_execute(sg_host_t host, double size){
-  return host->p_cpu->execute(size);
-}
-
 double surf_host_get_current_power_peak(sg_host_t host){
   return host->p_cpu->getCurrentPowerPeak();
 }
@@ -267,17 +263,6 @@ 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;