Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : fix MC_RANDOM simcall
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Wed, 13 Mar 2013 15:41:47 +0000 (16:41 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 16 Mar 2013 17:30:55 +0000 (18:30 +0100)
commit4d27a92b07b781ad03da0848332a26c289358bc9
treed6565d044de20be53170574c0ee9dc78b35f8405
parent8bcf7fd62bb1e2fa4ebb6430cad22cf24309fad6
model-checker : fix MC_RANDOM simcall

Time doesn't exist in model-checking. However, there are some
protocols, such as Chord, with some periodics operations (random
lookup, check predecessors, ...).  If the model-checker is used with
these examples, these operations are never executed because of the
time which doesn't progress.  With MC_RANDOM simcall, the
model-checker will explore the two cases : the case in which the
periodic operation is executed and the other case in which it is not
executed.  In this way, the verification is exhaustive whatever the
period.
examples/msg/chord/chord.c
include/simgrid/modelchecker.h
include/simgrid/simix.h
src/mc/mc_global.c
src/mc/mc_private.h
src/mc/mc_request.c
src/mc/mc_state.c
src/simix/smx_smurf_private.h
src/simix/smx_user.c