X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5b29830df70e823202e384a7655e4371193ecd7..7263d4ee073e1ff17648971a077f7057ce2f4076:/src/surf/plugins/host_load.cpp diff --git a/src/surf/plugins/host_load.cpp b/src/surf/plugins/host_load.cpp index 7005e62e6d..71ccf350ea 100644 --- a/src/surf/plugins/host_load.cpp +++ b/src/surf/plugins/host_load.cpp @@ -76,12 +76,12 @@ void HostLoad::update() double HostLoad::getCurrentLoad() { - return current_flops / (host->speed() * host->coreCount()); + return current_flops / (host->getSpeed() * host->getCoreCount()); } double HostLoad::getAverageLoad() { - return getComputedFlops() / (host->speed() * host->coreCount() * (surf_get_clock() - last_reset)); + return getComputedFlops() / (host->getSpeed() * host->getCoreCount() * (surf_get_clock() - last_reset)); } double HostLoad::getComputedFlops()