Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Speed up update_action_state AND generic_maxmin_share for sleep actions with no maxim...
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 May 2008 13:48:56 +0000 (13:48 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 May 2008 13:48:56 +0000 (13:48 +0000)
commit6a7c78afcfb651c6e585f19ec4f60089e8a483a8
tree0b5e2b63b4ad6ebadb76c3a7c961b405420a6ca0
parentf21e6f4956e55ea1fb4c3ee5fed01f503ddb2344
Speed up update_action_state AND generic_maxmin_share for sleep actions with no maximum duration.

These sleep actions are not put in the running_action swag but in
another private one. Thus, they're somehow hiden from the surf kernel
but it does not need to see them anyway. The cpu module takes care of
them as the only thing that might happen to them (from the surf kernel
perspective) would be to fail, which is now done through the
update_resource function.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5484 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/surf/cpu.c