X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f70ee620c8df5cdf749f4dfbc9777359cd3cb12a..a34d8237b8267686bbd259670f27da273ff5236e:/src/surf/host_interface.cpp diff --git a/src/surf/host_interface.cpp b/src/surf/host_interface.cpp index 4382e94ea5..8ca1d73408 100644 --- a/src/surf/host_interface.cpp +++ b/src/surf/host_interface.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -106,42 +106,6 @@ void Host::setState(e_surf_resource_state_t state){ p_cpu->setState(state); } -int Host::getCore(){ - return p_cpu->getCore(); -} - -double Host::getSpeed(double load){ - return p_cpu->getSpeed(load); -} - -double Host::getAvailableSpeed(){ - return p_cpu->getAvailableSpeed(); -} - -double Host::getCurrentPowerPeak() -{ - return p_cpu->getCurrentPowerPeak(); -} - -double Host::getPowerPeakAt(int pstate_index) -{ - return p_cpu->getPowerPeakAt(pstate_index); -} - -int Host::getNbPstates() -{ - return p_cpu->getNbPstates(); -} - -void Host::setPstate(int pstate_index) -{ - p_cpu->setPstate(pstate_index); -} -int Host::getPstate() -{ - return p_cpu->getPstate(); -} - xbt_dict_t Host::getProperties() { return p_cpu->getProperties();