X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07f196691f95ce17dcaecb68e984e93df3debb58..HEAD:/src/kernel/lmm/System.cpp diff --git a/src/kernel/lmm/System.cpp b/src/kernel/lmm/System.cpp index 75eb88ac64..cebcb9632d 100644 --- a/src/kernel/lmm/System.cpp +++ b/src/kernel/lmm/System.cpp @@ -747,7 +747,7 @@ void System::remove_all_modified_cnst_set() * If the resource is not shared (ie in FATPIPE mode), then the load is the max (not the sum) * of all resource usages located on this resource. */ -double Constraint::get_usage() const +double Constraint::get_load() const { double result = 0.0; if (sharing_policy_ != SharingPolicy::FATPIPE) {