X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41ed3fe2b45c3860665301ae8803fe5cdcf8f53f..b7191e0a0c80df374d7bc4d00696578d106bd03c:/src/surf/vm_hl13.cpp diff --git a/src/surf/vm_hl13.cpp b/src/surf/vm_hl13.cpp index b0952d3446..893902807d 100644 --- a/src/surf/vm_hl13.cpp +++ b/src/surf/vm_hl13.cpp @@ -131,10 +131,9 @@ VMHL13::VMHL13(VMModel *model, const char* name, xbt_dict_t props, sg_host_t hos CpuCas01 *sub_cpu = static_cast(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());