Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename some symbols around Link::isShared to make their purpose clear
[simgrid.git] / src / surf / host_ptask_L07.cpp
index 717e89a..ec97d10 100644 (file)
@@ -566,9 +566,9 @@ void LinkL07::updateLatency(double value, double date)
 }
 
 
 }
 
 
-bool LinkL07::isShared()
+int LinkL07::sharingPolicy()
 {
 {
-  return lmm_constraint_is_shared(getConstraint());
+  return lmm_constraint_sharing_policy(getConstraint());
 }
 
 /**********
 }
 
 /**********