X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa5a9557a537377fdde5d797c82dc2baed5b26b7..731bd4b86d29ab2af91e306400a04024a6b47244:/src/surf/host_clm03.cpp diff --git a/src/surf/host_clm03.cpp b/src/surf/host_clm03.cpp index c4a3f20854..5b640475ec 100644 --- a/src/surf/host_clm03.cpp +++ b/src/surf/host_clm03.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -28,12 +28,10 @@ namespace simgrid { namespace surf { HostCLM03Model::HostCLM03Model() { - all_existing_models->push_back(this); + all_existing_models.push_back(this); } double HostCLM03Model::next_occuring_event(double now) { - ignore_empty_vm_in_pm_LMM(); - double min_by_cpu = surf_cpu_model_pm->next_occuring_event(now); double min_by_net = surf_network_model->next_occuring_event_is_idempotent() ? surf_network_model->next_occuring_event(now) : -1;