Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Drop s4u::Host::getPstateSpeedCurrent() which dupplicates Host::speed()
[simgrid.git] / src / surf / cpu_interface.cpp
index 6c724d2..040472e 100644 (file)
@@ -119,12 +119,6 @@ Cpu::Cpu(Model* model, simgrid::s4u::Host* host, lmm_constraint_t constraint, st
 
 Cpu::~Cpu() = default;
 
-/** @brief The amount of flop per second that this CPU can compute at its current DVFS level */
-double Cpu::getPstateSpeedCurrent()
-{
-  return speed_.peak;
-}
-
 int Cpu::getNbPStates()
 {
   return speedPerPstate_.size();