Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
surfCpuModel add execute on host
[simgrid.git] / src / surf / cpu_interface.cpp
index 8fbf799..1a08d36 100644 (file)
@@ -207,6 +207,11 @@ Cpu::~Cpu(){
     xbt_free(p_constraintCoreId);
 }
 
+double Cpu::getCurrentPowerPeak()
+{
+  return m_powerPeak;
+}
+
 double Cpu::getSpeed(double load)
 {
   return load * m_powerPeak;