Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Make state/snapshot comparison work with SMPI variable privatisation
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 30 Jun 2014 11:06:12 +0000 (13:06 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 25 Jul 2014 13:04:29 +0000 (15:04 +0200)
commite102d3275d9234526b53423b8a8e5bbd68ce5891
tree854c243ee0a171563eae03f1ade2db00ca95d22d
parentc57842fe897f53b46f0be3da87f7c996674be7d6
[mc] Make state/snapshot comparison work with SMPI variable privatisation

ChangesĀ :

  * a snapshot region now has a standard address (address in the
    virtual process) and permanent address (address of the
    privatisation region, where the memory is always mapped event when
    another process is active);

  * handle privatised memory regions on snapshot and snapshot restore;

  * compare global vaiable separately for each simulated process;

  * the ID of the simulated must be passed everywhere;

  * mc_snapshot_read() and friends as well as DWARF expression can be
    evaluated in the context of a given simulated process and fetch
    the data in the corresponding privatisation region.
18 files changed:
include/xbt/mmalloc.h
src/include/mc/datatypes.h
src/include/mc/mc.h
src/mc/mc_checkpoint.c
src/mc/mc_compare.cpp
src/mc/mc_diff.c
src/mc/mc_dwarf_expression.c
src/mc/mc_hash.c
src/mc/mc_ignore.c
src/mc/mc_member.c
src/mc/mc_page_snapshot.cpp
src/mc/mc_private.h
src/mc/mc_snapshot.c
src/simix/smx_context_sysv.c
src/smpi/private.h
src/smpi/smpi_bench.c
src/smpi/smpi_global.c
teshsuite/mc/dwarf/dwarf.c