Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mmalloc] Extends the junk area and use finer grained allocations
[simgrid.git] / src / surf / cpu_interface.cpp
index 8fbf799a8073046722f51cda2c8a787582f2c935..1a08d36e3488f33cbb12e27329b43390f75cd17c 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;