Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove StateTrace from the CPU constructor
[simgrid.git] / src / surf / vm_hl13.cpp
index b0952d3..8939028 100644 (file)
@@ -131,10 +131,9 @@ VMHL13::VMHL13(VMModel *model, const char* name, xbt_dict_t props, sg_host_t hos
   CpuCas01 *sub_cpu = static_cast<CpuCas01*>(host_PM->pimpl_cpu);
 
   p_cpu = surf_cpu_model_vm->createCpu(host_VM, // the machine hosting the VM
-      sub_cpu->getSpeedPeakList(),        // host->power_peak,
-      NULL,                       // host->power_trace,
-      1,                          // host->core_amount,
-      NULL);                      // host->state_trace,
+      sub_cpu->getSpeedPeakList(),        // host->speed_peak,
+      NULL,                       // host->speed_trace,
+      1);                         // host->core_amount,
   if (sub_cpu->getPState() != 0)
     p_cpu->setPState(sub_cpu->getPState());