X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/148987a2fffe74a2a14294ea9ace78e5b9c8bbae..961f84a35b1b94b8f3a1bfec1e5017d1f8de831b:/src/kernel/resource/Model.cpp diff --git a/src/kernel/resource/Model.cpp b/src/kernel/resource/Model.cpp index 6f392e4ca6..43577140af 100644 --- a/src/kernel/resource/Model.cpp +++ b/src/kernel/resource/Model.cpp @@ -26,18 +26,18 @@ void Model::set_maxmin_system(lmm::System* system) maxmin_system_.reset(system); } -double Model::next_occuring_event(double now) +double Model::next_occurring_event(double now) { // FIXME: set the good function once and for all if (update_algorithm_ == Model::UpdateAlgo::LAZY) - return next_occuring_event_lazy(now); + return next_occurring_event_lazy(now); else if (update_algorithm_ == Model::UpdateAlgo::FULL) - return next_occuring_event_full(now); + return next_occurring_event_full(now); else xbt_die("Invalid cpu update mechanism!"); } -double Model::next_occuring_event_lazy(double now) +double Model::next_occurring_event_lazy(double now) { XBT_DEBUG("Before share resources, the size of modified actions set is %zu", maxmin_system_->modified_set_->size()); maxmin_system_->lmm_solve(); @@ -100,7 +100,7 @@ double Model::next_occuring_event_lazy(double now) } } -double Model::next_occuring_event_full(double /*now*/) +double Model::next_occurring_event_full(double /*now*/) { maxmin_system_->solve(); @@ -170,6 +170,6 @@ void Model::update_actions_state_full(double /*now*/, double /*delta*/) THROW_UNIMPLEMENTED; } -} // namespace surf +} // namespace resource } // namespace kernel } // namespace simgrid