Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a bug making that the simulation ran longer than expected
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 17 Jul 2012 13:44:20 +0000 (15:44 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 17 Jul 2012 13:44:20 +0000 (15:44 +0200)
commit45f517dc85cc6c2ed4ebce27de4f75c00271f945
tree463a03e6a469c9a9da006d8afb1b715198aa7122
parentf35266523c599068c264085705e4d3a5b01b75ca
Fix a bug making that the simulation ran longer than expected

If you asked for 3 seconds, and then had a task terminating after 2
seconds, the function simulated for 5 seconds.

Now, the time already spent in the loop in previous rounds is properly
taken into account.

Thanks to Guillaume Serrière for detecting the issue.
src/simdag/sd_global.c