Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename Action::priority into Action::sharing_penalty in surf as it should be
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 4 Jun 2019 16:09:38 +0000 (18:09 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 4 Jun 2019 16:10:29 +0000 (18:10 +0200)
commit148987a2fffe74a2a14294ea9ace78e5b9c8bbae
treefbd18290e22e5fdb095c9b43b0705c77d3dd0121
parentf9c945c00667e65f7baaa646fca6750fa5d341fd
Rename Action::priority into Action::sharing_penalty in surf as it should be

This commit contains the following at the s4u -> surf boundary:
  -        .set_priority(1. / priority_)
  +        .set_sharing_penalty(1. / priority_)
The old version was just sick.

This should be further propagated down into LMM, where the
sharing_penalty is still named "sharing_weight". Not a helpful name
for the poor souls who didn't wrote an hdr on this topic :)
14 files changed:
include/simgrid/kernel/resource/Action.hpp
include/simgrid/simix.h
src/kernel/activity/ExecImpl.cpp
src/kernel/activity/ExecImpl.hpp
src/kernel/resource/Action.cpp
src/kernel/resource/Model.cpp
src/plugins/vm/VirtualMachineImpl.cpp
src/s4u/s4u_Exec.cpp
src/simix/libsmx.cpp
src/surf/cpu_interface.cpp
src/surf/cpu_ti.cpp
src/surf/cpu_ti.hpp
src/surf/storage_n11.cpp
src/surf/storage_n11.hpp