Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make k:r:Cpu::speed_per_pstate_ private as it should
[simgrid.git] / src / surf / cpu_cas01.cpp
index 0b61967..7f5c672 100644 (file)
@@ -90,15 +90,7 @@ CpuCas01::CpuCas01(CpuCas01Model* model, simgrid::s4u::Host* host, std::vector<d
 {
 }
 
-CpuCas01::~CpuCas01()
-{
-  if (get_model() == surf_cpu_model_pm)
-    speed_per_pstate_.clear();
-}
-
-std::vector<double> * CpuCas01::getSpeedPeakList(){
-  return &speed_per_pstate_;
-}
+CpuCas01::~CpuCas01() = default;
 
 bool CpuCas01::is_used()
 {