X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e6f32ee88c53d311ae1aaf409b886c60307a0af4..2a6c6f62af5b4823e5737e58f17150ce8dab1a95:/src/simgrid/host.cpp diff --git a/src/simgrid/host.cpp b/src/simgrid/host.cpp index 3d1a48ab8c..1b3176c91a 100644 --- a/src/simgrid/host.cpp +++ b/src/simgrid/host.cpp @@ -215,14 +215,14 @@ xbt_swag_t Host::getProcessList() double Host::getCurrentPowerPeak() { return simgrid::simix::kernel( - std::bind(SIMIX_host_get_current_power_peak, this)); + std::bind(surf_host_get_current_power_peak, this)); } /** Get one power peak (in flops/s) of a host at a given pstate */ double Host::getPowerPeakAt(int pstate_index) { return simgrid::simix::kernel( - std::bind(SIMIX_host_get_power_peak_at, this, pstate_index)); + std::bind(surf_host_get_power_peak_at, this, pstate_index)); } /** @brief Get the speed of the cpu associated to a host */